From 8a9b9ec96a3bf04366dbac710d7019d081922186 Mon Sep 17 00:00:00 2001 From: Luca Brivio Date: Sun, 5 Oct 2014 12:49:18 +0100 Subject: [PATCH] Simplify futility move count array formula No functional change --- src/search.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/search.cpp b/src/search.cpp index 5b56af58..a16fceb1 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -140,8 +140,8 @@ void Search::init() { // Init futility move count array for (d = 0; d < 32; ++d) { - FutilityMoveCounts[0][d] = int(2.4 + 0.222 * pow(d * 2 + 0.00, 1.8)); - FutilityMoveCounts[1][d] = int(3.0 + 0.300 * pow(d * 2 + 0.98, 1.8)); + FutilityMoveCounts[0][d] = int(2.4 + 0.773 * pow(d + 0.00, 1.8)); + FutilityMoveCounts[1][d] = int(2.9 + 1.045 * pow(d + 0.49, 1.8)); } } -- 2.39.2