]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Use NNUE in low piece endgames close to the root.
[stockfish] / src / search.cpp
index 2d24c31372b816004180042fd40b0db4eb0f9c4a..fa73dce5da074fbef87529c630aa5b3cf65cc75a 100644 (file)
@@ -560,6 +560,7 @@ namespace {
 
     // Step 1. Initialize node
     Thread* thisThread = pos.this_thread();
+    thisThread->depth  = depth;
     ss->inCheck        = pos.checkers();
     priorCapture       = pos.captured_piece();
     Color us           = pos.side_to_move();