mirror of
https://github.com/sockspls/badfish
synced 2025-05-02 17:49:35 +00:00
Allow benches with more than 2G nodes.
./stockfish bench 128 1 4000000000 default nodes crashes before, works after. No functional change.
This commit is contained in:
parent
876f07cbee
commit
61c727fdcb
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ void benchmark(const Position& current, istream& is) {
|
||||||
limits.movetime = stoi(limit); // movetime is in millisecs
|
limits.movetime = stoi(limit); // movetime is in millisecs
|
||||||
|
|
||||||
else if (limitType == "nodes")
|
else if (limitType == "nodes")
|
||||||
limits.nodes = stoi(limit);
|
limits.nodes = stoll(limit);
|
||||||
|
|
||||||
else if (limitType == "mate")
|
else if (limitType == "mate")
|
||||||
limits.mate = stoi(limit);
|
limits.mate = stoi(limit);
|
||||||
|
|
Loading…
Add table
Reference in a new issue