From: Gary Linscott Date: Thu, 2 May 2013 18:37:55 +0000 (-0400) Subject: Fix rounding issue X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=11d30b629814a2de446bb1e92b58276556cef29e Fix rounding issue --- diff --git a/src/search.cpp b/src/search.cpp index c56839ba..42685241 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -145,7 +145,7 @@ void Search::init() { // Init futility move count array for (d = 0; d < 32; d++) - FutilityMoveCounts[d] = int(3.0 + 0.3 * pow(double(d), 1.8)); + FutilityMoveCounts[d] = int(3.001 + 0.3 * pow(double(d), 1.8)); }