]> git.sesse.net Git - stockfish/blobdiff - src/thread.cpp
SEE Pruning Tweak (#2183)
[stockfish] / src / thread.cpp
index d360ad318325921e8e76f83f153caf3190c559fc..2f1237a3b0c6b5b02b27636d9c3d78d02f31c84d 100644 (file)
@@ -192,7 +192,7 @@ void ThreadPool::start_thinking(Position& pos, StateListPtr& states,
   for (Thread* th : *this)
   {
       th->nodes = th->tbHits = th->nmpMinPly = 0;
-      th->completedDepth = DEPTH_ZERO;
+      th->rootDepth = th->completedDepth = DEPTH_ZERO;
       th->rootMoves = rootMoves;
       th->rootPos.set(pos.fen(), pos.is_chess960(), &setupStates->back(), th);
   }