X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=ee2d43b87545e130a97967383d620d8f20d076a5;hp=7b43f64a19e63510ba69ed8dfd50e610cf3be5c0;hb=0915f85895733ff8ed8e480fa9c83c25c296ea1d;hpb=5e8bc6ac2adf76b25042194717b04218d7ac2390 diff --git a/src/search.cpp b/src/search.cpp index 7b43f64a..ee2d43b8 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -153,8 +153,8 @@ void Search::init() { // Init futility move count array for (d = 0; d < 32; d++) { - FutilityMoveCounts[0][d] = int(3.001 + 0.3 * pow(double(d ), 1.8)) * (d < 5 ? 4 : 3) / 4; - FutilityMoveCounts[1][d] = int(3.001 + 0.3 * pow(double(d + 0.98), 1.8)); + 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)); } }