mirror of
https://github.com/sockspls/badfish
synced 2025-05-02 01:29:36 +00:00
Simplify away redundant SEE pruning condition (#1363)
SEE immediately returns true for promotions, so excluding them before checking SEE is redundant. STC LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 56758 W: 10166 L: 10106 D: 36486 http://tests.stockfishchess.org/tests/view/5a645eaf0ebc590297903833 No functional change.
This commit is contained in:
parent
b508f9561c
commit
b61759e907
1 changed files with 0 additions and 1 deletions
|
@ -1252,7 +1252,6 @@ moves_loop: // When in check search starts from here
|
|||
|
||||
// Don't search moves with negative SEE values
|
||||
if ( (!InCheck || evasionPrunable)
|
||||
&& type_of(move) != PROMOTION
|
||||
&& !pos.see_ge(move))
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue