mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 08:36:33 +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")
|
if (fenFile != "default")
|
||||||
{
|
{
|
||||||
|
fens.clear();
|
||||||
string fen;
|
string fen;
|
||||||
ifstream file(fenFile.c_str());
|
ifstream file(fenFile.c_str());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user