]> git.sesse.net Git - stockfish/blobdiff - src/benchmark.cpp
(Re)introduce DEPTH_ZERO to replace Depth(0)
[stockfish] / src / benchmark.cpp
index c554008b857f3b46d50fc66ab501a8c8c85ab82d..27bc0b071c081ee07b353743f0829083f363583d 100644 (file)
@@ -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 {