X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fucioption.cpp;h=bca4a1f1adb2276cfa76100f870198496ad3cb5b;hp=4d925d6827332f98b18bce9b7622ee6c7bbfd815;hb=e408fd7b10503a9114962cb5972abd9957bc67c2;hpb=ad5d86c7714ae3eaad71e8b3630d38c29dd2c3fe diff --git a/src/ucioption.cpp b/src/ucioption.cpp index 4d925d68..bca4a1f1 100644 --- a/src/ucioption.cpp +++ b/src/ucioption.cpp @@ -56,10 +56,10 @@ bool CaseInsensitiveLess::operator() (const string& s1, const string& s2) const void init(OptionsMap& o) { // at most 2^32 clusters. - const int MaxHashMB = Is64Bit ? 131072 : 2048; + constexpr int MaxHashMB = Is64Bit ? 131072 : 2048; o["Debug Log File"] << Option("", on_logger); - o["Contempt"] << Option(18, -100, 100); + o["Contempt"] << Option(12, -100, 100); o["Threads"] << Option(1, 1, 512, on_threads); o["Hash"] << Option(16, 1, MaxHashMB, on_hash_size); o["Clear Hash"] << Option(on_clear_hash);