X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.cpp;h=d360ad318325921e8e76f83f153caf3190c559fc;hp=2f1237a3b0c6b5b02b27636d9c3d78d02f31c84d;hb=44c320a572188b5875291103edb344c584b91d19;hpb=4fcd78bd06d3c1936f6fac9b26fe6d8c57c7747e diff --git a/src/thread.cpp b/src/thread.cpp index 2f1237a3..d360ad31 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -192,7 +192,7 @@ void ThreadPool::start_thinking(Position& pos, StateListPtr& states, for (Thread* th : *this) { th->nodes = th->tbHits = th->nmpMinPly = 0; - th->rootDepth = th->completedDepth = DEPTH_ZERO; + th->completedDepth = DEPTH_ZERO; th->rootMoves = rootMoves; th->rootPos.set(pos.fen(), pos.is_chess960(), &setupStates->back(), th); }