X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fucioption.cpp;h=ed68027de720ec2d86bb49fb3c7d0afbb6ca6b17;hp=5c891421ec9447ae99d726a1bf9c7bb0dd5cecd0;hb=9afa03b80ea4610729427ee8287a5bbadba03e02;hpb=86e467520f780c8b2cfbfe2b4451987de66882c7 diff --git a/src/ucioption.cpp b/src/ucioption.cpp index 5c891421..ed68027d 100644 --- a/src/ucioption.cpp +++ b/src/ucioption.cpp @@ -76,7 +76,7 @@ void init(OptionsMap& o) { o["SyzygyPath"] << Option("", on_tb_path); o["SyzygyProbeDepth"] << Option(1, 1, 100); o["Syzygy50MoveRule"] << Option(true); - o["SyzygyProbeLimit"] << Option(6, 0, 6); + o["SyzygyProbeLimit"] << Option(7, 0, 7); } @@ -134,7 +134,7 @@ Option::operator std::string() const { return currentValue; } -bool Option::operator==(const char* s) { +bool Option::operator==(const char* s) const { assert(type == "combo"); return !CaseInsensitiveLess()(currentValue, s) && !CaseInsensitiveLess()(s, currentValue);