]> git.sesse.net Git - stockfish/blobdiff - src/thread.cpp
Allow for general transposition table sizes. (#1341)
[stockfish] / src / thread.cpp
index 3f3f26cd63f4e6e6f354a1d26ff4fc25febc4640..58d693cf2a52547c4fc5f1140436293bd9fcda2d 100644 (file)
@@ -187,6 +187,8 @@ void ThreadPool::start_thinking(Position& pos, StateListPtr& states,
       th->rootDepth = th->completedDepth = DEPTH_ZERO;
       th->rootMoves = rootMoves;
       th->rootPos.set(pos.fen(), pos.is_chess960(), &setupStates->back(), th);
+      th->nmp_ply = 0;
+      th->pair = -1;
   }
 
   setupStates->back() = tmp;