mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
Simplify Check Extension
STC: LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 32704 W: 6146 L: 6045 D: 20513 LTC: LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 146622 W: 19967 L: 20017 D: 106638 Bench: 8245662
This commit is contained in:
parent
8e45e70e55
commit
1c0c4db677
1 changed files with 3 additions and 3 deletions
|
@ -873,9 +873,9 @@ moves_loop: // When in check search starts from here
|
|||
&& moveCount >= FutilityMoveCounts[improving][depth];
|
||||
|
||||
// Step 12. Extend checks
|
||||
if ( givesCheck
|
||||
&& ( moveCount == 1
|
||||
|| (!moveCountPruning && pos.see_sign(move) >= VALUE_ZERO)))
|
||||
if ( givesCheck
|
||||
&& !moveCountPruning
|
||||
&& pos.see_sign(move) >= VALUE_ZERO)
|
||||
extension = ONE_PLY;
|
||||
|
||||
// Singular extension search. If all moves but one fail low on a search of
|
||||
|
|
Loading…
Add table
Reference in a new issue