X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbenchmark.cpp;h=e23afb1422cd2709427f0d69f3e9c050bc7ec776;hp=1d40b8fdb29e64c83b8c58ccfd11416197c4102b;hb=6e06db93fde225eeae75dc8b3d5d1432c5cd14a8;hpb=a49e4fac9839263ef2a3b885a051ec842b1202d9 diff --git a/src/benchmark.cpp b/src/benchmark.cpp index 1d40b8fd..e23afb14 100644 --- a/src/benchmark.cpp +++ b/src/benchmark.cpp @@ -151,7 +151,7 @@ void benchmark(const string& commandLine) { { Move moves[1] = {MOVE_NONE}; int dummy[2] = {0, 0}; - Position pos(*it); + Position pos(*it, 0); cerr << "\nBench position: " << cnt << '/' << positions.size() << endl << endl; if (limitType == "perft") { @@ -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(); }