not extending on checks during se verification | bench 4699541
This commit is contained in:
1 parent
a56e983bf7
commit
90cfd93135
1 file changed
+1
-1
+1
-1
@@ -643,7 +643,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
|
||||
|
||||
int reductions = GetReductions<isPV>(board, currMove, depth, moveSeen, ply, cutnode, improving, corrplexity, ctx);
|
||||
|
||||
int newDepth = depth + copy.InCheck() - 1 + extension;
|
||||
int newDepth = depth + (copy.InCheck() && !ctx->excluded) - 1 + extension;
|
||||
|
||||
U64 nodesBeforeSearch = ctx->nodes;
|
||||
|
||||
|
||||
Reference in new issue
Block a user