Author SHA1 Message Date
rektdie 2aaa560dd3 probcut improving | bench 1592105 2026-10-03 17:30:33 +02:00
+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 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())