]> git.sesse.net Git - stockfish/blobdiff - src/thread.cpp
Introduce capture history table for capture move sorting
[stockfish] / src / thread.cpp
index eb360869b53380510513ff134938f0ba515e5cb8..3f3f26cd63f4e6e6f354a1d26ff4fc25febc4640 100644 (file)
@@ -58,6 +58,7 @@ void Thread::clear() {
 
   counterMoves.fill(MOVE_NONE);
   mainHistory.fill(0);
+  captureHistory.fill(0);
 
   for (auto& to : contHistory)
       for (auto& h : to)