using tt adjusted eval in nmp

bench 1308674
This commit is contained in:
rektdie committed 2026-03-24 01:07:34 +01:00
1 parent c9f6ac3849
commit 9d7567dfea
1 file changed
+1 -1
+1 -1
View File
@@ -433,7 +433,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
}
// Null Move Pruning
if (ply > ctx->minNmpPly && staticEval >= beta + nmpBetaMargin) {
if (ply > ctx->minNmpPly && ttAdjustedEval >= beta + nmpBetaMargin) {
if (depth > 1 && !board.InPossibleZug()) {
Board copy = board;
copy.MakeMove(Move());