mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 09:13:08 +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
|
@ -874,8 +874,8 @@ moves_loop: // When in check search starts from here
|
||||||
|
|
||||||
// Step 12. Extend checks
|
// Step 12. Extend checks
|
||||||
if ( givesCheck
|
if ( givesCheck
|
||||||
&& ( moveCount == 1
|
&& !moveCountPruning
|
||||||
|| (!moveCountPruning && pos.see_sign(move) >= VALUE_ZERO)))
|
&& pos.see_sign(move) >= VALUE_ZERO)
|
||||||
extension = ONE_PLY;
|
extension = ONE_PLY;
|
||||||
|
|
||||||
// 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue