Skip to content

Commit

Permalink
Accumulate nodes over all bench positions not just the last
Browse files Browse the repository at this point in the history
closes official-stockfish#5352

No functional change
  • Loading branch information
Disservin committed Jun 4, 2024
1 parent 7f09d06 commit 4f53560
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/tt.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

#include <cstddef>
#include <cstdint>
#include <memory>

#include "memory.h"
#include "misc.h"
Expand Down
2 changes: 1 addition & 1 deletion src/uci.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4f53560

Please sign in to comment.