mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 01:03:09 +00:00
Use null move when depth >= 2 plies
Passed both short TC: LLR: 2.96 (-2.94,2.94) Total: 23725 W: 5031 L: 4855 D: 13839 And long TC: LLR: 2.96 (-2.94,2.94) Total: 15730 W: 2939 L: 2754 D: 10037 bench: 4729333
This commit is contained in:
parent
c6baefb79d
commit
f39cf1b008
1 changed files with 1 additions and 1 deletions
|
@ -663,7 +663,7 @@ namespace {
|
||||||
// Step 8. Null move search with verification search (is omitted in PV nodes)
|
// Step 8. Null move search with verification search (is omitted in PV nodes)
|
||||||
if ( !PvNode
|
if ( !PvNode
|
||||||
&& !ss->skipNullMove
|
&& !ss->skipNullMove
|
||||||
&& depth > ONE_PLY
|
&& depth >= 2 * ONE_PLY
|
||||||
&& eval >= beta
|
&& eval >= beta
|
||||||
&& abs(beta) < VALUE_MATE_IN_MAX_PLY
|
&& abs(beta) < VALUE_MATE_IN_MAX_PLY
|
||||||
&& pos.non_pawn_material(pos.side_to_move()))
|
&& pos.non_pawn_material(pos.side_to_move()))
|
||||||
|
|
Loading…
Add table
Reference in a new issue