using tt adjusted eval in nmp #166
+1
-1
@@ -433,7 +433,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Null Move Pruning
|
// Null Move Pruning
|
||||||
if (ply > ctx->minNmpPly && staticEval >= beta + nmpBetaMargin) {
|
if (ply > ctx->minNmpPly && ttAdjustedEval >= beta + nmpBetaMargin) {
|
||||||
if (depth > 1 && !board.InPossibleZug()) {
|
if (depth > 1 && !board.InPossibleZug()) {
|
||||||
Board copy = board;
|
Board copy = board;
|
||||||
copy.MakeMove(Move());
|
copy.MakeMove(Move());
|
||||||
|
|||||||
Reference in new issue
Block a user