From aa2368a6878a867fe63247ee2adf2fde3dfe22be Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Mon, 29 Apr 2013 00:59:57 +0200 Subject: [PATCH] Stockfish 3 Stockfish bench signature is: 4176431 --- polyglot.ini | 2 +- src/misc.cpp | 2 +- src/uci.cpp | 3 +-- src/ucioption.cpp | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/polyglot.ini b/polyglot.ini index 86c8c7ca..c3cab3e1 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 = true +Use Sleeping Threads = false Hash = 128 Ponder = true OwnBook = false diff --git a/src/misc.cpp b/src/misc.cpp index c0c00b00..4ff1c0cf 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 = ""; +static const string Version = "3"; static const string Tag = ""; diff --git a/src/uci.cpp b/src/uci.cpp index c8f50446..17079239 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -27,7 +27,6 @@ #include "position.h" #include "search.h" #include "thread.h" -#include "tt.h" #include "ucioption.h" using namespace std; @@ -103,7 +102,7 @@ void UCI::loop(const string& args) { << "\n" << Options << "\nuciok" << sync_endl; - else if (token == "ucinewgame") TT.clear(); + else if (token == "ucinewgame") { /* Avoid returning "Unknown command" */ } 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 4bb4369f..5ea75331 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(true); + o["Use Sleeping Threads"] = Option(false); o["Hash"] = Option(32, 1, 8192, on_hash_size); o["Clear Hash"] = Option(on_clear_hash); o["Ponder"] = Option(true); -- 2.39.2