]> git.sesse.net Git - stockfish/commitdiff
Restore development version
authorMarco Costalba <mcostalba@gmail.com>
Sat, 15 Sep 2012 07:34:31 +0000 (09:34 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 15 Sep 2012 09:02:08 +0000 (11:02 +0200)
No functional change.

polyglot.ini
src/misc.cpp
src/uci.cpp
src/ucioption.cpp

index 9b47071017e69a034b215339a721f46c45dbdefd..2b6f577fe8be577bc4fcd2c78b1e771813b7a9b5 100644 (file)
@@ -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
index 33c3f1f70acceb9287ab08a36aed4db62a432064..fefa8d4f33cbd2dd7a74ff57f6a481e14468025b 100644 (file)
@@ -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 = "";
 
 
index 3895c7a1d49aa001535430616d97c58920179697..c18cfc35309a3ac9a4a0ab039e6097b5ba47aef2 100644 (file)
@@ -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;
index b985ae829e5f1343e751123792925732d8cca7a5..bbbbbbf9c8475a32d728cfb485f89d8b9c521eae 100644 (file)
@@ -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);