From 2f99de0c6c3b9eb7531ec34dbbaf026697cb4fe4 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Mon, 2 Apr 2012 18:38:50 +0100 Subject: [PATCH] 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 --- src/benchmark.cpp | 1 + 1 file changed, 1 insertion(+) 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()); -- 2.39.2