]> git.sesse.net Git - stockfish/blobdiff - src/thread.cpp
Eliminate ONE_PLY
[stockfish] / src / thread.cpp
index 90ec274d82052827dda6bd891534bd69e523b4f5..19687aad7c439469aecd06b90dd1b26bddc4cbfd 100644 (file)
@@ -204,7 +204,7 @@ void ThreadPool::start_thinking(Position& pos, StateListPtr& states,
   for (Thread* th : *this)
   {
       th->shuffleExts = th->nodes = th->tbHits = th->nmpMinPly = 0;
-      th->rootDepth = th->completedDepth = DEPTH_ZERO;
+      th->rootDepth = th->completedDepth = 0;
       th->rootMoves = rootMoves;
       th->rootPos.set(pos.fen(), pos.is_chess960(), &setupStates->back(), th);
   }