]> git.sesse.net Git - stockfish/blobdiff - src/benchmark.cpp
Fix 'bench' for Chess960 case
[stockfish] / src / benchmark.cpp
index 5d8757a61f49dd7214e48038746f0c93cdfe6ffd..9b2e81e1a1f335aaf2cc83ed65894ed9c60b7204 100644 (file)
@@ -112,7 +112,7 @@ void benchmark(const Position& current, istream& is) {
 
   for (size_t i = 0; i < fens.size(); i++)
   {
-      Position pos(fens[i], false, Threads.main_thread());
+      Position pos(fens[i], Options["UCI_Chess960"], Threads.main_thread());
 
       cerr << "\nPosition: " << i + 1 << '/' << fens.size() << endl;