From: Marco Costalba Date: Sun, 29 Apr 2012 17:58:48 +0000 (+0100) Subject: Remove unreachable extension condition X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=39c08c17c5812dc947d83a07cae702029319af2f Remove unreachable extension condition A PvNode that givesCheck has been already granted an extension of ONE_PLY in previous condition. No functional change. Signed-off-by: Marco Costalba --- diff --git a/src/search.cpp b/src/search.cpp index 0087cdc0..55bf52b2 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -863,7 +863,7 @@ split_point_start: // At split points actual search starts from here ext = ONE_PLY; else if (givesCheck && pos.see_sign(move) >= 0) - ext = PvNode ? ONE_PLY : ONE_PLY / 2; + ext = ONE_PLY / 2; // Singular extension search. If all moves but one fail low on a search of // (alpha-s, beta-s), and just one fails high on (alpha, beta), then that move