From: Marco Costalba Date: Fri, 21 Sep 2012 22:37:18 +0000 (+0200) Subject: Restore development version X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=1cb2722c955405d6354a1eebcea8652f52b94bdd Restore development version --- diff --git a/polyglot.ini b/polyglot.ini index 9b470710..2b6f577f 100644 --- a/polyglot.ini +++ b/polyglot.ini @@ -29,7 +29,7 @@ Cowardice = 100 Min Split Depth = 4 Max Threads per Split Point = 5 Threads = 1 -Use Sleeping Threads = false +Use Sleeping Threads = true Hash = 128 Ponder = true OwnBook = false diff --git a/src/misc.cpp b/src/misc.cpp index 627b5d41..fefa8d4f 100644 --- a/src/misc.cpp +++ b/src/misc.cpp @@ -33,7 +33,7 @@ using namespace std; /// Version number. If Version is left empty, then Tag plus current /// date (in the format YYMMDD) is used as a version number. -static const string Version = "2.3.1"; +static const string Version = ""; static const string Tag = ""; diff --git a/src/uci.cpp b/src/uci.cpp index 3895c7a1..c18cfc35 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -26,6 +26,7 @@ #include "position.h" #include "search.h" #include "thread.h" +#include "tt.h" #include "ucioption.h" using namespace std; @@ -93,7 +94,7 @@ void UCI::loop(const string& args) { go(pos, is); else if (token == "ucinewgame") - { /* Avoid returning "Unknown command" */ } + TT.clear(); else if (token == "isready") sync_cout << "readyok" << sync_endl; diff --git a/src/ucioption.cpp b/src/ucioption.cpp index b985ae82..bbbbbbf9 100644 --- a/src/ucioption.cpp +++ b/src/ucioption.cpp @@ -74,7 +74,7 @@ void init(OptionsMap& o) { o["Min Split Depth"] = Option(msd, 4, 7, on_threads); o["Max Threads per Split Point"] = Option(5, 4, 8, on_threads); o["Threads"] = Option(cpus, 1, MAX_THREADS, on_threads); - o["Use Sleeping Threads"] = Option(false, on_threads); + o["Use Sleeping Threads"] = Option(true, on_threads); o["Hash"] = Option(32, 4, 8192, on_hash_size); o["Clear Hash"] = Option(on_clear_hash); o["Ponder"] = Option(true);