X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fucioption.cpp;h=7bdbc0f8768fbaa46417a7218e9580e2e447deb7;hp=a229027970b73bfdbf2e844331b4ac16843b9596;hb=495a0fa699fb3f8ed36fe343fbd910479df4e2f1;hpb=c15b132f033881b7bc0e8c76698d928798dff921 diff --git a/src/ucioption.cpp b/src/ucioption.cpp index a2290279..7bdbc0f8 100644 --- a/src/ucioption.cpp +++ b/src/ucioption.cpp @@ -67,11 +67,9 @@ void init(OptionsMap& o) { o["Passed Pawns (Midgame)"] << Option(100, 0, 200, on_eval); o["Passed Pawns (Endgame)"] << Option(100, 0, 200, on_eval); o["Space"] << Option(100, 0, 200, on_eval); - o["Aggressiveness"] << Option(100, 0, 200, on_eval); - o["Cowardice"] << Option(100, 0, 200, on_eval); + o["King Safety"] << Option(100, 0, 200, on_eval); o["Min Split Depth"] << Option(0, 0, 12, on_threads); o["Threads"] << Option(1, 1, MAX_THREADS, on_threads); - o["Idle Threads Sleep"] << Option(true); o["Hash"] << Option(32, 1, 16384, on_hash_size); o["Clear Hash"] << Option(on_clear_hash); o["Ponder"] << Option(true); @@ -141,10 +139,10 @@ Option::operator std::string() const { void Option::operator<<(const Option& o) { - static size_t index = 0; + static size_t insert_order = 0; *this = o; - idx = index++; + idx = insert_order++; }