X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fthread.cpp;h=e5043b6ea355ba4dce1c2e52f038a76d9275257f;hp=f216c3218ca68ac5b5e3e5effa77c991a42df81b;hb=3984b8f8f0e1f53c737020c936f2a8372029545d;hpb=82ad9ce9cfb0eff33f1d781f329f7c5dc0b277eb diff --git a/src/thread.cpp b/src/thread.cpp index f216c321..e5043b6e 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -20,6 +20,7 @@ #include +#include // For std::count #include "movegen.h" #include "search.h" #include "thread.h" @@ -190,7 +191,7 @@ void ThreadPool::start_thinking(Position& pos, StateListPtr& states, for (Thread* th : *this) { - th->nodes = th->tbHits = th->nmpMinPly = 0; + 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);