node after a nullmove is not a cutnode | bench 3915796
This commit is contained in:
1 parent
24ac6c74a8
commit
b016519998
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
|
// Always legal so we dont check it
|
||||||
|
|
||||||
ctx.doingNullMove = true;
|
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;
|
ctx.doingNullMove = false;
|
||||||
|
|
||||||
if (ctx.searchStopped) return 0;
|
if (ctx.searchStopped) return 0;
|
||||||
|
|||||||
Reference in new issue
Block a user