From 90cfd93135631072b41a93db490aceac2d3f1f65 Mon Sep 17 00:00:00 2001 From: rektdie Date: Mon, 3 Nov 2025 22:19:56 +0100 Subject: [PATCH] not extending on checks during se verification | bench 4699541 --- source/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/search.cpp b/source/search.cpp index d42d59c..20949d0 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -643,7 +643,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC int reductions = GetReductions(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; -- 2.47.3