mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 16:53:09 +00:00
Fix bench with fen files regression
Erroneusly adds default positions to the fens
loaded from external file.
Bug introduced in adb71b8096
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
7a8429d9f1
commit
2f99de0c6c
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ void benchmark(istringstream& is) {
|
||||||
|
|
||||||
if (fenFile != "default")
|
if (fenFile != "default")
|
||||||
{
|
{
|
||||||
|
fens.clear();
|
||||||
string fen;
|
string fen;
|
||||||
ifstream file(fenFile.c_str());
|
ifstream file(fenFile.c_str());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue