//// Includes
////
#include <fstream>
+#include <iostream>
#include <vector>
#include "search.h"
ttSize = argc > 2 ? argv[2] : "128";
threads = argc > 3 ? argv[3] : "1";
- valStr = argc > 4 ? argv[4] : "12";
+ valStr = argc > 4 ? argv[4] : "11";
posFile = argc > 5 ? argv[5] : "default";
valType = argc > 6 ? argv[6] : "depth";
if (!fenFile.is_open())
{
cerr << "Unable to open positions file " << posFile << endl;
- Application::exit_with_failure();
+ exit(EXIT_FAILURE);
}
string pos;
while (fenFile.good())
{
Move moves[1] = { MOVE_NONE };
int dummy[2] = { 0, 0 };
- Position pos(*it, 0);
+ Position pos(*it, false, 0);
cerr << "\nBench position: " << cnt << '/' << positions.size() << endl << endl;
if (valType == "perft")
{