X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbenchmark.cpp;h=27bc0b071c081ee07b353743f0829083f363583d;hp=c554008b857f3b46d50fc66ab501a8c8c85ab82d;hb=4aeffc8c9a7ba870702974f62d1d3553ed227c00;hpb=cfb52fcd5d307fc0daf6045fc7e299b61fed1017 diff --git a/src/benchmark.cpp b/src/benchmark.cpp index c554008b..27bc0b07 100644 --- a/src/benchmark.cpp +++ b/src/benchmark.cpp @@ -155,7 +155,7 @@ void benchmark(const string& commandLine) { cerr << "\nBench position: " << cnt << '/' << positions.size() << endl << endl; if (limitType == "perft") { - int64_t perftCnt = perft(pos, maxDepth * OnePly); + int64_t perftCnt = perft(pos, maxDepth * ONE_PLY); cerr << "\nPerft " << maxDepth << " result (nodes searched): " << perftCnt << endl << endl; totalNodes += perftCnt; } else {