using tt adjusted eval in nmp #166

Merged
rektdie merged 1 commits from tt-adjusted-nmp into main 2026-03-24 02:16:41 +01:00
+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());