]> git.sesse.net Git - stockfish/blobdiff - src/benchmark.cpp
Improve time managment
[stockfish] / src / benchmark.cpp
index 4c6c0da67253e335e014fc17c1ddbe77e07a57d7..7e2628b1ea77e7d82b38547bd8cdb8d0d64e751c 100644 (file)
@@ -123,7 +123,8 @@ void benchmark(const std::string& commandLine) {
   for (it = positions.begin(); it != positions.end(); ++it)\r
   {
       Move moves[1] = {MOVE_NONE};\r
+      int dummy[2] = {0, 0};\r
       Position pos(*it);      
-      think(pos, true, false, 0, 0, 0, 0, 0, 0, secsPerPos * 1000, moves);\r
+      think(pos, true, false, 0, dummy, dummy, 0, 0, 0, secsPerPos * 1000, moves);\r
   }
 }