diff --git a/src/search.cpp b/src/search.cpp index 07c0c41ea..9e075a21c 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1217,12 +1217,13 @@ moves_loop: // When in check, search starts here extension = -2; } + uint64_t nodeCount = rootNode ? uint64_t(nodes) : 0; + // Step 16. Make the move do_move(pos, move, st, givesCheck, ss); // Add extension to new depth newDepth += extension; - uint64_t nodeCount = rootNode ? uint64_t(nodes) : 0; // Decrease reduction for PvNodes (*Scaler) if (ss->ttPv)