X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbenchmark.cpp;h=e23afb1422cd2709427f0d69f3e9c050bc7ec776;hp=ee262ba5bc1c2407b14f95c8f6036dfd6945eef4;hb=b75e68860c9c92d9545b2ca4115c556f999669a0;hpb=2f6927ac08887ff3b709cfe9228b27a85bdd1d88 diff --git a/src/benchmark.cpp b/src/benchmark.cpp index ee262ba5..e23afb14 100644 --- a/src/benchmark.cpp +++ b/src/benchmark.cpp @@ -159,7 +159,7 @@ void benchmark(const string& commandLine) { cerr << "\nPerft " << maxDepth << " result (nodes searched): " << perftCnt << endl << endl; totalNodes += perftCnt; } else { - if (!think(pos, false, false, 0, dummy, dummy, 0, maxDepth, maxNodes, secsPerPos, moves)) + if (!think(pos, false, false, dummy, dummy, 0, maxDepth, maxNodes, secsPerPos, moves)) break; totalNodes += nodes_searched(); }