Accumulate nodes over all bench positions not just the last

closes https://github.com/official-stockfish/Stockfish/pull/5352

No functional change
This commit is contained in:
Disservin
2024-06-04 07:57:08 +02:00
parent 7f09d06b83
commit 4f53560d24
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -296,7 +296,7 @@ void UCIEngine::bench(std::istream& args) {
Search::LimitsType limits = parse_limits(is);
if (limits.perft)
nodes = perft(limits);
nodesSearched = perft(limits);
else
{
engine.go(limits);