]> git.sesse.net Git - stockfish/blobdiff - src/thread.cpp
Introduce pawn structure based history
[stockfish] / src / thread.cpp
index fdf89095b5e79239883cd9d41d30a760f0c685c2..bc884dedf01ed5ef0a4a1c8ed101fe045e8c9571 100644 (file)
@@ -68,6 +68,7 @@ void Thread::clear() {
     counterMoves.fill(MOVE_NONE);
     mainHistory.fill(0);
     captureHistory.fill(0);
+    pawnHistory.fill(0);
 
     for (bool inCheck : {false, true})
         for (StatsType c : {NoCaptures, Captures})