prevent razoring when tt is lower bound | bench 1246472 #181
+1
-1
@@ -458,7 +458,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Razoring
|
// 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;
|
return Quiescence<isPV, mode>(board, alpha, beta, ply, ctx).score;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user