]> git.sesse.net Git - stockfish/commitdiff
Simplify Null Move Search condition
authorJoost VandeVondele <Joost.VandeVondele@gmail.com>
Wed, 8 Nov 2017 12:44:24 +0000 (13:44 +0100)
committerMarco Costalba <mcostalba@users.noreply.github.com>
Wed, 8 Nov 2017 12:44:24 +0000 (13:44 +0100)
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

index 7945170484d20181dee1bdbfe3b559bb079b58ad..cf380b3135b190b4c808eafda1ec23934cf08a47 100644 (file)
@@ -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()))
     {