Skip to content

Commit

Permalink
Stockfish 4
Browse files Browse the repository at this point in the history
Stockfish bench signature is: 4132374
  • Loading branch information
mcostalba committed Aug 20, 2013
1 parent f45eee3 commit 4d120ee
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion polyglot.ini
Expand Up @@ -32,7 +32,7 @@ Cowardice = 100
Min Split Depth = 0
Max Threads per Split Point = 5
Threads = 1
Idle Threads Sleep = true
Idle Threads Sleep = false
Hash = 128
Ponder = true
OwnBook = false
Expand Down
2 changes: 1 addition & 1 deletion src/misc.cpp
Expand Up @@ -28,7 +28,7 @@ using namespace std;

/// Version number. If Version is left empty, then compile date, in the
/// format DD-MM-YY, is shown in engine_info.
static const string Version = "";
static const string Version = "4";


/// engine_info() returns the full name of the current Stockfish version. This
Expand Down
3 changes: 1 addition & 2 deletions src/uci.cpp
Expand Up @@ -27,7 +27,6 @@
#include "position.h"
#include "search.h"
#include "thread.h"
#include "tt.h"
#include "ucioption.h"

using namespace std;
Expand Down Expand Up @@ -108,7 +107,7 @@ void UCI::loop(const string& args) {
Search::RootColor = pos.side_to_move(); // Ensure it is set
sync_cout << Eval::trace(pos) << 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") position(pos, is);
else if (token == "setoption") setoption(is);
Expand Down
2 changes: 1 addition & 1 deletion src/ucioption.cpp
Expand Up @@ -72,7 +72,7 @@ void init(OptionsMap& o) {
o["Min Split Depth"] = Option(0, 0, 12, on_threads);
o["Max Threads per Split Point"] = Option(5, 4, 8, on_threads);
o["Threads"] = Option(1, 1, MAX_THREADS, on_threads);
o["Idle Threads Sleep"] = Option(true);
o["Idle Threads Sleep"] = Option(false);
o["Hash"] = Option(32, 1, 8192, on_hash_size);
o["Clear Hash"] = Option(on_clear_hash);
o["Ponder"] = Option(true);
Expand Down

0 comments on commit 4d120ee

Please sign in to comment.