1
0
Fork 0

Allow benches with more than 2G nodes.

./stockfish bench 128 1 4000000000 default nodes

    crashes before, works after.

    No functional change.
pull/865/head
Joost VandeVondele 2016-11-07 13:35:28 +01:00
parent 876f07cbee
commit 61c727fdcb
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ void benchmark(const Position& current, istream& is) {
limits.movetime = stoi(limit); // movetime is in millisecs
else if (limitType == "nodes")
limits.nodes = stoi(limit);
limits.nodes = stoll(limit);
else if (limitType == "mate")
limits.mate = stoi(limit);