X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbenchmark.cpp;h=58f05e668a5504e3715350ef87dd52b9cac12c1e;hp=8f30bee4f8eadeb2098173b288a232102e003a44;hb=44f79bdf5a092c3acec0a8bf8f2c1440e5a9da90;hpb=b8e5092d07aaf736894d7d80b19d0185a1789084 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;