]> git.sesse.net Git - stockfish/blobdiff - src/history.cpp
Double HistoryMax and reduce aging
[stockfish] / src / history.cpp
index 949ba316420d8dc5351e412e32f1e23b414b261a..3cda37061d6d55a201413736323d927b24514158 100644 (file)
@@ -61,7 +61,7 @@ void History::success(Piece p, Square to, Depth d) {
   if (history[p][to] >= HistoryMax)
       for (int i = 0; i < 16; i++)
           for (int j = 0; j < 64; j++)
-              history[i][j] /= 4;
+              history[i][j] /= 2;
 }