]> git.sesse.net Git - stockfish/blobdiff - src/benchmark.cpp
Extend bench to static evaluations
[stockfish] / src / benchmark.cpp
index 8f30bee4f8eadeb2098173b288a232102e003a44..58f05e668a5504e3715350ef87dd52b9cac12c1e 100644 (file)
@@ -117,7 +117,7 @@ vector<string> setup_bench(const Position& current, istream& is) {
   string fenFile   = (is >> token) ? token : "default";
   string limitType = (is >> token) ? token : "depth";
 
-  go = "go " + limitType + " " + limit;
+  go = limitType == "eval" ? "eval" : "go " + limitType + " " + limit;
 
   if (fenFile == "default")
       fens = Defaults;