mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 08:36:33 +08: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:
committed by
Marco Costalba
parent
c6baefb79d
commit
f39cf1b008
@@ -663,7 +663,7 @@ namespace {
|
||||
// Step 8. Null move search with verification search (is omitted in PV nodes)
|
||||
if ( !PvNode
|
||||
&& !ss->skipNullMove
|
||||
&& depth > ONE_PLY
|
||||
&& depth >= 2 * ONE_PLY
|
||||
&& eval >= beta
|
||||
&& abs(beta) < VALUE_MATE_IN_MAX_PLY
|
||||
&& pos.non_pawn_material(pos.side_to_move()))
|
||||
|
||||
Reference in New Issue
Block a user