node after a nullmove is not a cutnode | bench 3915796
This commit is contained in:
1 parent
a39abe23aa
commit
69d8bc9064
1 file changed
+1
-1
+1
-1
@@ -277,7 +277,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
|
||||
// Always legal so we dont check it
|
||||
|
||||
ctx.doingNullMove = true;
|
||||
int score = -PVS<false, mode>(copy, depth - 3, -beta, -beta + 1, ply + 1, ctx, true).score;
|
||||
int score = -PVS<false, mode>(copy, depth - 3, -beta, -beta + 1, ply + 1, ctx, false).score;
|
||||
ctx.doingNullMove = false;
|
||||
|
||||
if (ctx.searchStopped) return 0;
|
||||
|
||||
Reference in new issue
Block a user