]> git.sesse.net Git - stockfish/blobdiff - src/uci.cpp
Restore deterministic search state
[stockfish] / src / uci.cpp
index a9fe4f207e856d715b0a6dc9bb23c7238c9cd28a..b8b371acfc036a4a08570773d058b28ef12173fe 100644 (file)
@@ -27,7 +27,6 @@
 #include "search.h"
 #include "thread.h"
 #include "timeman.h"
-#include "tt.h"
 #include "uci.h"
 
 using namespace std;
@@ -181,7 +180,7 @@ void UCI::loop(int argc, char* argv[]) {
 
       else if (token == "ucinewgame")
       {
-          TT.clear();
+          Search::reset();
           Time.availableNodes = 0;
       }
       else if (token == "isready")    sync_cout << "readyok" << sync_endl;