From 2aaa560dd3c02a93672641f9297ac90e8f8a31da Mon Sep 17 00:00:00 2001 From: rektdie Date: Sat, 3 Oct 2026 17:30:33 +0200 Subject: [PATCH] probcut improving | bench 1592105 --- source/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/search.cpp b/source/search.cpp index 02d709a..05d3f2c 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -516,7 +516,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC } const int probcutBeta = beta + probcutBetaMargin; - const int probcutDepth = std::max(depth - 3, 1); + const int probcutDepth = std::max(depth - 3 - improving, 1); if (depth >= 7 && std::abs(beta) < MATE_SCORE - MAX_DEPTH && (!entry.bestMove || !entry.bestMove.IsQuiet())