diff --git a/src/history.h b/src/history.h index a16338b3..4d8736a5 100644 --- a/src/history.h +++ b/src/history.h @@ -46,6 +46,7 @@ INLINE int Bonus(Depth depth) { INLINE void UpdateContHistories(Stack *ss, Move move, int bonus) { ContHistoryUpdate(1, move, bonus); ContHistoryUpdate(2, move, bonus); + ContHistoryUpdate(3, move, bonus / 4); ContHistoryUpdate(4, move, bonus); } @@ -93,6 +94,7 @@ INLINE int GetQuietHistory(const Thread *thread, Stack *ss, Move move) { return *QuietEntry(move) + *ContEntry(1, move) + *ContEntry(2, move) + + *ContEntry(3, move) / 4 + *ContEntry(4, move); }