Skip to content

Commit f39cf1b

Browse files
zamarmcostalba
authored andcommitted
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
1 parent c6baefb commit f39cf1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/search.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ namespace {
663663
// Step 8. Null move search with verification search (is omitted in PV nodes)
664664
if ( !PvNode
665665
&& !ss->skipNullMove
666-
&& depth > ONE_PLY
666+
&& depth >= 2 * ONE_PLY
667667
&& eval >= beta
668668
&& abs(beta) < VALUE_MATE_IN_MAX_PLY
669669
&& pos.non_pawn_material(pos.side_to_move()))

0 commit comments

Comments
 (0)