mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 03:29:14 +00:00
SEE Pruning Tweak (#2183)
Don't SEE prune any check extensions STC (yellow): LLR: -2.96 (-2.94,2.94) [0.50,4.50] Total: 129934 W: 29390 L: 28905 D: 71639 http://tests.stockfishchess.org/tests/view/5cf6b1a70ebc5925cf08dedb LTC: LLR: 2.95 (-2.94,2.94) [0.00,3.50] Total: 102115 W: 17692 L: 17224 D: 67199 http://tests.stockfishchess.org/tests/view/5cf830710ebc5925cf090331
This commit is contained in:
parent
2d06d659c0
commit
6ed81f09ff
1 changed files with 2 additions and 1 deletions
|
@ -984,7 +984,8 @@ moves_loop: // When in check, search starts from here
|
|||
if (!pos.see_ge(move, Value(-29 * lmrDepth * lmrDepth)))
|
||||
continue;
|
||||
}
|
||||
else if (!pos.see_ge(move, -PawnValueEg * (depth / ONE_PLY))) // (~20 Elo)
|
||||
else if ((!givesCheck || !(pos.blockers_for_king(~us) & from_sq(move)))
|
||||
&& !pos.see_ge(move, -PawnValueEg * (depth / ONE_PLY))) // (~20 Elo)
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue