1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 16:23:09 +00:00

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

View file

@ -21,7 +21,6 @@
#include <cstddef>
#include <cstdint>
#include <memory>
#include "memory.h"
#include "misc.h"

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);