]> git.sesse.net Git - stockfish/commitdiff
Don't use "OwnBook" by default
authorMarco Costalba <mcostalba@gmail.com>
Sat, 17 Mar 2012 12:16:23 +0000 (13:16 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 17 Mar 2012 12:16:51 +0000 (13:16 +0100)
Stick to UCI protocol that says:

* by default all the opening book handling is done by the GUI,
  but there is an option for the engine to use its own book
  ("OwnBook" option, see below)

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/benchmark.cpp
src/ucioption.cpp

index 4735729add884116f27a981bf7736e55b1d2eb75..4124899b33d4fd7a1b84a36a3eb1490b29509166 100644 (file)
@@ -72,7 +72,6 @@ void benchmark(int argc, char* argv[]) {
 
   Options["Hash"]    = ttSize;
   Options["Threads"] = threads;
-  Options["OwnBook"] = false;
 
   if (valType == "time")
       limits.maxTime = 1000 * atoi(valStr.c_str()); // maxTime is in ms
index 75eb205313124669de33679a1e8434506e6438c7..fe1a4709e706568487dccf431c072ae08b12416c 100644 (file)
@@ -76,7 +76,7 @@ OptionsMap::OptionsMap() {
   o["Hash"]                        = UCIOption(32, 4, 8192, on_hash_size);
   o["Clear Hash"]                  = UCIOption(on_clear_hash);
   o["Ponder"]                      = UCIOption(true);
-  o["OwnBook"]                     = UCIOption(true);
+  o["OwnBook"]                     = UCIOption(false);
   o["MultiPV"]                     = UCIOption(1, 1, 500);
   o["Skill Level"]                 = UCIOption(20, 0, 20);
   o["Emergency Move Horizon"]      = UCIOption(40, 0, 50);