Fix rounding issue
authorGary Linscott <glinscott@gmail.com>
Thu, 2 May 2013 18:37:55 +0000 (14:37 -0400)
committerGary Linscott <glinscott@gmail.com>
Thu, 2 May 2013 18:37:55 +0000 (14:37 -0400)
src/search.cpp

index c56839b..4268524 100644 (file)
@@ -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));
 }