From f39cf1b00801c1d2688fa2ba1375d211e205b13a Mon Sep 17 00:00:00 2001 From: Joona Kiiski Date: Tue, 20 Aug 2013 23:26:16 +0100 Subject: [PATCH] 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 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 2a7cde2b..9ae28d3c 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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())) -- 2.39.2