nmp beta margin | bench 4350979
This commit is contained in:
1 parent
acee84c134
commit
66865fa84e
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -449,7 +449,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
|
||||
}
|
||||
|
||||
// Null Move Pruning
|
||||
if (!ctx->doingNullMove && staticEval >= beta) {
|
||||
if (!ctx->doingNullMove && staticEval >= beta + nmpBetaMargin) {
|
||||
if (depth > 1 && !board.InPossibleZug()) {
|
||||
Board copy = board;
|
||||
copy.MakeMove(Move());
|
||||
|
||||
Reference in new issue
Block a user