From: Marco Costalba Date: Mon, 2 Apr 2012 17:38:50 +0000 (+0100) Subject: Fix bench with fen files regression X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=2f99de0c6c3b9eb7531ec34dbbaf026697cb4fe4 Fix bench with fen files regression Erroneusly adds default positions to the fens loaded from external file. Bug introduced in adb71b8096436a No functional change. Signed-off-by: Marco Costalba --- diff --git a/src/benchmark.cpp b/src/benchmark.cpp index c31609bb..b9cd4058 100644 --- a/src/benchmark.cpp +++ b/src/benchmark.cpp @@ -85,6 +85,7 @@ void benchmark(istringstream& is) { if (fenFile != "default") { + fens.clear(); string fen; ifstream file(fenFile.c_str());