X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbenchmark.cpp;h=58f05e668a5504e3715350ef87dd52b9cac12c1e;hb=de4e1cb88d9d5a6b4bf6e47bdc2a71e025bf8f46;hp=8f30bee4f8eadeb2098173b288a232102e003a44;hpb=b8e5092d07aaf736894d7d80b19d0185a1789084;p=stockfish diff --git a/src/benchmark.cpp b/src/benchmark.cpp index 8f30bee4..58f05e66 100644 --- a/src/benchmark.cpp +++ b/src/benchmark.cpp @@ -117,7 +117,7 @@ vector 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;