From e0035e9ca981c8f7ed6ef75b098f22baf83a34e9 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sat, 15 Sep 2012 09:34:31 +0200 Subject: [PATCH 1/1] Restore development version No functional change. --- polyglot.ini | 2 +- src/misc.cpp | 2 +- src/uci.cpp | 3 ++- src/ucioption.cpp | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) 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 33c3f1f7..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"; +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); -- 2.39.2