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:
parent
7f09d06b83
commit
4f53560d24
2 changed files with 1 additions and 2 deletions
1
src/tt.h
1
src/tt.h
|
@ -21,7 +21,6 @@
|
|||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
|
||||
#include "memory.h"
|
||||
#include "misc.h"
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue