From 06b24ef1f2e253a15ad52dea825a3cf3f85bf01d Mon Sep 17 00:00:00 2001 From: rektdie Date: Tue, 26 Aug 2025 15:08:46 +0200 Subject: [PATCH] added 1 ply conthist to fp | bench 8636322 --- source/search.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/search.cpp b/source/search.cpp index b8d5b52..e54ea66 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -460,6 +460,10 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC // If our static eval is far below alpha, there is only a small chance // that a quiet move will help us so we skip them int historyScore = ctx->history[board.sideToMove][currMove.MoveFrom()][currMove.MoveTo()]; + + if (ply > 0) + historyScore += ctx->conthist.GetOnePly(board, currMove, ctx, ply); + int fpMargin = 100 * depth + historyScore / 32; if (!isPV && ply && currMove.IsQuiet()