X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fucioption.cpp;h=35c907ae52fb7b368a0feeea36108619adab598e;hp=c78237641d061a3fa513722f13188d573165bc80;hb=27efc5ac996ffc679395317c8bbb16aca996296c;hpb=60c121f3b1ee7d5ced3435cc1718e4e6e6fd8383 diff --git a/src/ucioption.cpp b/src/ucioption.cpp index c7823764..35c907ae 100644 --- a/src/ucioption.cpp +++ b/src/ucioption.cpp @@ -67,6 +67,7 @@ void init(OptionsMap& o) { o["Move Overhead"] << Option(30, 0, 5000); o["Minimum Thinking Time"] << Option(20, 0, 5000); o["Slow Mover"] << Option(80, 10, 1000); + o["nodestime"] << Option(0, 0, 10000); o["UCI_Chess960"] << Option(false); o["SyzygyPath"] << Option("", on_tb_path); o["SyzygyProbeDepth"] << Option(1, 1, 100); @@ -81,7 +82,7 @@ void init(OptionsMap& o) { std::ostream& operator<<(std::ostream& os, const OptionsMap& om) { for (size_t idx = 0; idx < om.size(); ++idx) - for (auto& it : om) + for (const auto& it : om) if (it.second.idx == idx) { const Option& o = it.second;