X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.cpp;fp=src%2Fthread.cpp;h=19687aad7c439469aecd06b90dd1b26bddc4cbfd;hp=90ec274d82052827dda6bd891534bd69e523b4f5;hb=ca7d4e9ac7b5ca74be8aa807fbdf139b2a0860ab;hpb=328bdd0947ea7903ee1061c8eb60bc3121a4eb19 diff --git a/src/thread.cpp b/src/thread.cpp index 90ec274d..19687aad 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -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); }