mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 09:06:45 +08:00
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 <mcostalba@gmail.com>
This commit is contained in:
@@ -863,7 +863,7 @@ split_point_start: // At split points actual search starts from here
|
|||||||
ext = ONE_PLY;
|
ext = ONE_PLY;
|
||||||
|
|
||||||
else if (givesCheck && pos.see_sign(move) >= 0)
|
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
|
// 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
|
// (alpha-s, beta-s), and just one fails high on (alpha, beta), then that move
|
||||||
|
|||||||
Reference in New Issue
Block a user