X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbenchmark.cpp;h=0417313cbb6bf3ac22ba5733cd77bda68fc3212f;hp=67902062f6cfa9b6e206cf91fe97885583fa76cd;hb=cc04a745e2f6aca12ac8373c85ae0ccafac07ffb;hpb=ce5b9727362e18bbf1494cf801df8510f5bc6b9f;ds=sidebyside diff --git a/src/benchmark.cpp b/src/benchmark.cpp index 67902062..0417313c 100644 --- a/src/benchmark.cpp +++ b/src/benchmark.cpp @@ -83,7 +83,12 @@ void benchmark(istringstream& is) { else limits.depth = atoi(limit.c_str()); - if (fenFile != "default") + if (fenFile == "current") + { + fens.clear(); + fens.push_back(Search::RootPosition.to_fen()); + } + else if (fenFile != "default") { fens.clear(); string fen;