From e381951a248ba4c6873dd81527926c6bdcac2aa6 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Tue, 30 Apr 2013 20:00:05 +0200 Subject: [PATCH] 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 c3cab3e1..86c8c7ca 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 4ff1c0cf..c0c00b00 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 DD-MM-YY, are used as a version number. -static const string Version = "3"; +static const string Version = ""; static const string Tag = ""; diff --git a/src/uci.cpp b/src/uci.cpp index 17079239..c8f50446 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -27,6 +27,7 @@ #include "position.h" #include "search.h" #include "thread.h" +#include "tt.h" #include "ucioption.h" using namespace std; @@ -102,7 +103,7 @@ void UCI::loop(const string& args) { << "\n" << Options << "\nuciok" << sync_endl; - else if (token == "ucinewgame") { /* Avoid returning "Unknown command" */ } + else if (token == "ucinewgame") TT.clear(); else if (token == "go") go(pos, is); else if (token == "position") set_position(pos, is); else if (token == "setoption") set_option(is); diff --git a/src/ucioption.cpp b/src/ucioption.cpp index 5ea75331..4bb4369f 100644 --- a/src/ucioption.cpp +++ b/src/ucioption.cpp @@ -75,7 +75,7 @@ void init(OptionsMap& o) { o["Min Split Depth"] = Option(msd, 4, 12, 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); + o["Use Sleeping Threads"] = Option(true); o["Hash"] = Option(32, 1, 8192, on_hash_size); o["Clear Hash"] = Option(on_clear_hash); o["Ponder"] = Option(true); -- 2.39.2