X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=8b483b02f5a159296d0b0b16738bf9a4476f6a83;hp=8d713fb86448f5b7fadcd1e472ba0b68fe70af44;hb=d709a5f1c52f253a09cd931d06b5197dcdafc3ba;hpb=1b0df1ae141be1461e3fbe809b5b27c3e360753f diff --git a/src/search.cpp b/src/search.cpp index 8d713fb8..8b483b02 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -57,7 +57,7 @@ namespace { inline Value razor_margin(Depth d) { return Value(512 + 32 * d); } // Futility lookup tables (initialized at startup) and their access functions - int FutilityMoveCounts[2][32]; // [improving][depth] + int FutilityMoveCounts[2][16]; // [improving][depth] inline Value futility_margin(Depth d) { return Value(200 * d); @@ -135,7 +135,7 @@ void Search::init() { } // Init futility move count array - for (int d = 0; d < 32; ++d) + for (int d = 0; d < 16; ++d) { 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));