probcut improving | bench 1592105

This commit is contained in:
rektdie committed 2026-10-03 17:30:33 +02:00
1 parent 134af1abde
commit 2aaa560dd3
1 file changed
+1 -1
+1 -1
View File
@@ -516,7 +516,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
} }
const int probcutBeta = beta + probcutBetaMargin; 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 if (depth >= 7 && std::abs(beta) < MATE_SCORE - MAX_DEPTH
&& (!entry.bestMove || !entry.bestMove.IsQuiet()) && (!entry.bestMove || !entry.bestMove.IsQuiet())