]> git.sesse.net Git - stockfish/commitdiff
Restore development version
authorMarco Costalba <mcostalba@gmail.com>
Tue, 30 Apr 2013 18:00:05 +0000 (20:00 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Tue, 30 Apr 2013 18:01:07 +0000 (20:01 +0200)
No functional change.

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

index c3cab3e19467c571da6205d0b906745aee5dbf55..86c8c7cafe9c7bca0313cc8e3ced93a420b7cadc 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 4ff1c0cfdf5e5cb44a17c978584bd81861555925..c0c00b009fa1ab347ebb97599a2a1e687d4346ca 100644 (file)
@@ -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 = "";
 
 
index 17079239bc8d4b1e2fd1f980152e86650e2000ab..c8f504463cef969db7a72c9816d3c23fd6f18b94 100644 (file)
@@ -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);
index 5ea75331d5d85a85ea92edb729c4efbb393e22f3..4bb4369fc843b593759ef530e0bbb718a0f1def5 100644 (file)
@@ -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);