X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=c3ebf9abc302dd0974e25fef4a6bc32d19e43956;hp=f1416a74091e1db17c21571618eb1a892721c266;hb=10ead8a724671132df60ca2e23ddcad7eff7b3e5;hpb=be5a2f015e45886e32867b4559ef51dd694a3cec diff --git a/src/search.cpp b/src/search.cpp index f1416a74..c3ebf9ab 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -79,7 +79,7 @@ namespace { } constexpr int futility_move_count(bool improving, Depth depth) { - return (5 + depth * depth) * (1 + improving) / 2 - 1; + return (4 + depth * depth) / (2 - improving); } // History and stats update bonus, based on depth