From 0a74c16ffe5474f126cfac71e3f85394771ebbbd Mon Sep 17 00:00:00 2001 From: Joost VandeVondele Date: Wed, 8 Nov 2017 13:44:24 +0100 Subject: [PATCH] Simplify Null Move Search condition Removes depth condition, adjust parameters. passed STC: http://tests.stockfishchess.org/tests/view/5a008cbc0ebc590ccbb8a512 LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 29282 W: 5317 L: 5210 D: 18755 passed LTC: http://tests.stockfishchess.org/tests/view/5a00d8530ebc590ccbb8a541 LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 26893 W: 3458 L: 3345 D: 20090 Bench: 5015773 --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index 79451704..cf380b31 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -686,7 +686,7 @@ namespace { // Step 8. Null move search with verification search (is omitted in PV nodes) if ( !PvNode && eval >= beta - && (ss->staticEval >= beta - 35 * (depth / ONE_PLY - 6) || depth >= 13 * ONE_PLY) + && ss->staticEval >= beta - 36 * depth / ONE_PLY + 225 && pos.non_pawn_material(pos.side_to_move())) { -- 2.39.2