]> git.sesse.net Git - stockfish/blobdiff - src/thread.cpp
Remove `previousDepth` in favor of `completedDepth + 2`
[stockfish] / src / thread.cpp
index ca1a7c852731d11b530b10ccea2d42ea5d5573e6..c680393e27752135aa95ea76943233bc539fb83e 100644 (file)
@@ -60,7 +60,6 @@ void Thread::clear() {
   counterMoves.fill(MOVE_NONE);
   mainHistory.fill(0);
   captureHistory.fill(0);
-  previousDepth = 0;
 
   for (bool inCheck : { false, true })
       for (StatsType c : { NoCaptures, Captures })