not extending on checks during se verification | bench 4699541

This commit is contained in:
rektdie committed 2025-11-03 22:19:56 +01:00
1 parent a56e983bf7
commit 90cfd93135
1 file changed
+1 -1
+1 -1
View File
@@ -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;