]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Simplify Null Move Search condition
[stockfish] / 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()))
     {