X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=7e9b8d77216ae788475f4e7b351297d8b21dcdf8;hp=442f7f5ddc3e4fda6592ac903407d3f4f04550a4;hb=72f7282ad4da0584c87163aed85bd5ff4d633cd3;hpb=fbfce2132aff3e8528086fb14ae3fb8ef47c212e diff --git a/src/search.cpp b/src/search.cpp index 442f7f5d..7e9b8d77 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -155,8 +155,8 @@ void Search::init() { // Init futility move count array for (d = 0; d < 32; ++d) { - FutilityMoveCounts[0][d] = int(3 + 0.3 * pow(double(d ), 1.8)) * 3/4 + (2 < d && d < 5); - FutilityMoveCounts[1][d] = int(3 + 0.3 * pow(double(d + 0.98), 1.8)); + FutilityMoveCounts[0][d] = int(2.4 + 0.222 * pow(d + 0.0, 1.8)); + FutilityMoveCounts[1][d] = int(3.0 + 0.3 * pow(d + 0.98, 1.8)); } }