]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Tuned Futility Equation
[stockfish] / src / search.cpp
index b154c6d9f647bb48cf3eb45d52689f0d0943e0be..69488ad583fb81f1798487c5be2f6422a0db9a10 100644 (file)
@@ -64,7 +64,7 @@ namespace {
   // Razor and futility margins
   constexpr int RazorMargin = 661;
   Value futility_margin(Depth d, bool improving) {
-    return Value((168 - 51 * improving) * d / ONE_PLY);
+    return Value(198 * (d / ONE_PLY) - 178 * improving);
   }
 
   // Reductions lookup table, initialized at startup