diff --git a/AUTHORS b/AUTHORS index 8caa2285..be88a8e9 100644 --- a/AUTHORS +++ b/AUTHORS @@ -132,6 +132,7 @@ Kenneth Lee (kennethlee33) Kian E (KJE-98) kinderchocolate Kiran Panditrao (Krgp) +Kirill Zaripov (kokodio) Kojirion Krisztián Peőcz Krystian Kuzniarek (kuzkry) diff --git a/src/search.cpp b/src/search.cpp index 5b16b269..10e24482 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1095,8 +1095,9 @@ moves_loop: // When in check, search starts here lmrDepth += history / 3388; - Value futilityValue = ss->staticEval + (bestMove ? 46 : 138) + 117 * lmrDepth - + 102 * (ss->staticEval > alpha); + Value baseFutility = (bestMove ? 46 : 138 + std::abs(history / 300)); + Value futilityValue = + ss->staticEval + baseFutility + 117 * lmrDepth + 102 * (ss->staticEval > alpha); // Futility pruning: parent node // (*Scaler): Generally, more frequent futility pruning