mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-17 15:46:24 +08: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:
@@ -85,6 +85,7 @@ void benchmark(istringstream& is) {
|
||||
|
||||
if (fenFile != "default")
|
||||
{
|
||||
fens.clear();
|
||||
string fen;
|
||||
ifstream file(fenFile.c_str());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user