]> git.sesse.net Git - stockfish/blobdiff - src/thread.cpp
SE depth scaling using the previous depth
[stockfish] / src / thread.cpp
index 30177a3915a84c9245644d779ca6fe0d99bc5a2b..08a78db5f31da450fa7c4003272dff78c4162ce6 100644 (file)
@@ -60,7 +60,8 @@ 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 })
       {