Skip to content

Commit

Permalink
Fix bench with fen files regression
Browse files Browse the repository at this point in the history
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 2f99de0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/benchmark.cpp
Expand Up @@ -85,6 +85,7 @@ void benchmark(istringstream& is) {

if (fenFile != "default")
{
fens.clear();
string fen;
ifstream file(fenFile.c_str());

Expand Down

0 comments on commit 2f99de0

Please sign in to comment.