if (fenFile != "default")
{
+ fens.clear();
string fen;
ifstream file(fenFile.c_str());
for (size_t i = 0; i < fens.size(); i++)
{
- Position pos(fens[i], false, 0);
+ Position pos(fens[i], false);
cerr << "\nPosition: " << i + 1 << '/' << fens.size() << endl;
}
else
{
- Threads.start_searching(pos, limits);
+ Threads.start_searching(pos, limits, vector<Move>());
Threads.wait_for_search_finished();
nodes += Search::RootPosition.nodes_searched();
}