Corrhist #96

Merged
rektdie merged 4 commits from corrhist into main 2025-09-03 14:22:30 +02:00
Showing only changes of commit 2e1f84bda5 - Show all commits
+2 -1
View File
@@ -657,7 +657,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
}
if (ctx->searchStopped) return 0;
if (!ctx->excluded)
if (!ctx->excluded) {
if (!board.InCheck() && (results.bestMove.IsQuiet())
&& !(nodeType == CutNode && results.score <= staticEval)
@@ -669,6 +669,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
}
ctx->TT.WriteEntry(board.hashKey, depth, results.score, nodeType, results.bestMove);
}
return results;
}