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