]> git.sesse.net Git - stockfish/blobdiff - src/thread.cpp
Tweak history initialization
[stockfish] / src / thread.cpp
index 288588b0ee84cd805f0bc4e52868c91e21a81731..9ce408e059e02ac119d567a1eda7377f96110f7c 100644 (file)
@@ -64,12 +64,9 @@ void Thread::clear() {
 
   for (bool inCheck : { false, true })
       for (StatsType c : { NoCaptures, Captures })
-      {
           for (auto& to : continuationHistory[inCheck][c])
-                for (auto& h : to)
-                      h->fill(-71);
-          continuationHistory[inCheck][c][NO_PIECE][0]->fill(Search::CounterMovePruneThreshold - 1);
-      }
+              for (auto& h : to)
+                  h->fill(-71);
 }