X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fucioption.cpp;h=2906ae629d1e06cda2e0832272a25ffc2895a5bd;hb=fb03188fc7e96f8bd21177fa2a2990cf8dde7575;hp=28a0ad5247d443930ce0d78afe0a03d6dab4ca1b;hpb=f53aea45e3230239d358d4d35357c9ee6bf6fb54;p=stockfish diff --git a/src/ucioption.cpp b/src/ucioption.cpp index 28a0ad52..2906ae62 100644 --- a/src/ucioption.cpp +++ b/src/ucioption.cpp @@ -19,7 +19,7 @@ #include #include -#include +#include #include "misc.h" #include "thread.h" @@ -57,7 +57,7 @@ void init(OptionsMap& o) { o["Write Debug Log"] << Option(false, on_logger); o["Contempt"] << Option(0, -100, 100); - o["Min Split Depth"] << Option(0, 0, 12, on_threads); + o["Min Split Depth"] << Option(5, 0, 12, on_threads); o["Threads"] << Option(1, 1, MAX_THREADS, on_threads); o["Hash"] << Option(16, 1, MaxHashMB, on_hash_size); o["Clear Hash"] << Option(on_clear_hash); @@ -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;