mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 19:49:14 +00:00
Use staticEval in null prune condition
Don't null prune at depth < 12 if staticEval < beta STC: LLR: 2.96 (-2.94,2.94) [0.00,5.00] Total: 62858 W: 12035 L: 11632 D: 39191 LTC: LLR: 2.95 (-2.94,2.94) [0.00,5.00] Total: 49784 W: 7009 L: 6720 D: 36055 bench: 8054611
This commit is contained in:
parent
716a145a6c
commit
ade3bb9a4e
1 changed files with 1 additions and 0 deletions
|
@ -731,6 +731,7 @@ namespace {
|
|||
if ( !PvNode
|
||||
&& depth >= 2 * ONE_PLY
|
||||
&& eval >= beta
|
||||
&& (ss->staticEval >= beta || depth >= 12 * ONE_PLY)
|
||||
&& pos.non_pawn_material(pos.side_to_move()))
|
||||
{
|
||||
ss->currentMove = MOVE_NULL;
|
||||
|
|
Loading…
Add table
Reference in a new issue