X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fucioption.cpp;h=3ee823e57d38cb7d9bfe9af2736b7e352696c6bf;hb=5c8f571459fd4812543ead27d3644dcf46a5682d;hp=2185edf07c881ab6fe694fa6d2cfc5a44f6f9742;hpb=403db5a6e9f004e39773dbc6cea9d1a99c81a233;p=stockfish diff --git a/src/ucioption.cpp b/src/ucioption.cpp index 2185edf0..3ee823e5 100644 --- a/src/ucioption.cpp +++ b/src/ucioption.cpp @@ -106,8 +106,8 @@ namespace { o["Mate Threat Bonus"] = Option(3, 0, 8); o["Check Extension (PV nodes)"] = Option(2, 0, 2); o["Check Extension (non-PV nodes)"] = Option(1, 0, 2); - o["Single Reply Extension (PV nodes)"] = Option(2, 0, 2); - o["Single Reply Extension (non-PV nodes)"] = Option(2, 0, 2); + o["Single Evasion Extension (PV nodes)"] = Option(2, 0, 2); + o["Single Evasion Extension (non-PV nodes)"] = Option(2, 0, 2); o["Mate Threat Extension (PV nodes)"] = Option(0, 0, 2); o["Mate Threat Extension (non-PV nodes)"] = Option(0, 0, 2); o["Pawn Push to 7th Extension (PV nodes)"] = Option(1, 0, 2); @@ -122,8 +122,8 @@ namespace { o["Randomness"] = Option(0, 0, 10); o["Minimum Split Depth"] = Option(4, 4, 7); o["Maximum Number of Threads per Split Point"] = Option(5, 4, 8); - o["Threads"] = Option(1, 1, 8); - o["Hash"] = Option(32, 4, 4096); + o["Threads"] = Option(1, 1, THREAD_MAX); + o["Hash"] = Option(32, 4, 2048); o["Clear Hash"] = Option(false, BUTTON); o["New Game"] = Option(false, BUTTON); o["Ponder"] = Option(true); @@ -315,7 +315,7 @@ void push_button(const string& buttonName) { bool button_was_pressed(const string& buttonName) { if (!get_option_value(buttonName)) - return false; + return false; set_option_value(buttonName, "false"); return true;