Skip to content

Commit 54f8a9c

Browse files
committed
Stockfish 5
Stockfish bench signature is: 8732553
1 parent ad937d0 commit 54f8a9c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/misc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ using namespace std;
2828

2929
/// Version number. If Version is left empty, then compile date in the format
3030
/// DD-MM-YY and show in engine_info.
31-
static const string Version = "";
31+
static const string Version = "5";
3232

3333

3434
/// engine_info() returns the full name of the current Stockfish version. This

src/uci.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ void UCI::loop(int argc, char* argv[]) {
202202
Search::RootColor = pos.side_to_move(); // Ensure it is set
203203
sync_cout << Eval::trace(pos) << sync_endl;
204204
}
205-
else if (token == "ucinewgame") TT.clear();
205+
else if (token == "ucinewgame") { /* Avoid returning "Unknown command" */ }
206206
else if (token == "go") go(pos, is);
207207
else if (token == "position") position(pos, is);
208208
else if (token == "setoption") setoption(is);

0 commit comments

Comments
 (0)