Permalink
Browse files

Fix bench with fen files regression

Erroneusly adds default positions to the fens
loaded from external file.

Bug introduced in adb71b8

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
  • Loading branch information...
mcostalba committed Apr 2, 2012
1 parent 7a8429d commit 2f99de0c6c3b9eb7531ec34dbbaf026697cb4fe4
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/benchmark.cpp
View
@@ -85,6 +85,7 @@ void benchmark(istringstream& is) {
if (fenFile != "default")
{
+ fens.clear();
string fen;
ifstream file(fenFile.c_str());

0 comments on commit 2f99de0

Please sign in to comment.