X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=69488ad583fb81f1798487c5be2f6422a0db9a10;hp=b154c6d9f647bb48cf3eb45d52689f0d0943e0be;hb=18279b24fc76bb6eaf6ac01f3032b1b90da5dabb;hpb=d4dca9187e83dde29be8d76ca50ff53d14199ce9 diff --git a/src/search.cpp b/src/search.cpp index b154c6d9..69488ad5 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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