X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbenchmark.cpp;h=15816beebfe6521a965e01a302d81b62678c5b48;hp=27bc0b071c081ee07b353743f0829083f363583d;hb=9f626725aeb770a38be093a9a47a461053cf7008;hpb=4aeffc8c9a7ba870702974f62d1d3553ed227c00 diff --git a/src/benchmark.cpp b/src/benchmark.cpp index 27bc0b07..15816bee 100644 --- a/src/benchmark.cpp +++ b/src/benchmark.cpp @@ -161,7 +161,7 @@ void benchmark(const string& commandLine) { } else { if (!think(pos, false, false, dummy, dummy, 0, maxDepth, maxNodes, secsPerPos, moves)) break; - totalNodes += nodes_searched(); + totalNodes += pos.nodes_searched(); } }