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:
1 file changed
+1
-1
+1
-1
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user