]> git.sesse.net Git - stockfish/blobdiff - src/thread.cpp
Better check evasion move sorting
[stockfish] / src / thread.cpp
index f9809275ec2485a49ee737f5d00a4a78065ffb17..8b13f6e34907e1f0b98d75f13311f5b3a15f96ce 100644 (file)
@@ -61,11 +61,11 @@ void Thread::clear() {
   mainHistory.fill(0);
   captureHistory.fill(0);
 
-  for (auto& to : contHistory)
+  for (auto& to : continuationHistory)
       for (auto& h : to)
           h.get()->fill(0);
 
-  contHistory[NO_PIECE][0].get()->fill(Search::CounterMovePruneThreshold - 1);
+  continuationHistory[NO_PIECE][0].get()->fill(Search::CounterMovePruneThreshold - 1);
 }
 
 /// Thread::start_searching() wakes up the thread that will start the search