mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 01:03:09 +00: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:
parent
b93693b831
commit
39c08c17c5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue