Merge pull request #166 from rektdie/tt-adjusted-nmp

using tt adjusted eval in nmp bench 1308674
This commit was merged in pull request #166.
This commit is contained in:
rektdie authored and GitHub committed 2026-03-24 02:16:41 +01:00
commit 2e84a1e3ab
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());