prevent razoring when tt is lower bound | bench 1246472

This commit is contained in:
rektdie committed 2026-04-17 12:33:24 +02:00
1 parent 7ab07c8c71
commit 9fcef9c3c8
1 file changed
+1 -1
+1 -1
View File
@@ -458,7 +458,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
}
// Razoring
if (!isPV && depth <= 3 && staticEval + razoringScalar * depth < alpha) {
if (!isPV && depth <= 3 && staticEval + razoringScalar * depth < alpha && entry.nodeType != CutNode) {
return Quiescence<isPV, mode>(board, alpha, beta, ply, ctx).score;
}