From 41d9ce3bf0eb6d4e40fed2789c06349be6623130 Mon Sep 17 00:00:00 2001 From: Terje Date: Sat, 14 Oct 2023 19:07:29 +0200 Subject: [PATCH] Bench: 19132122 --- src/history.h | 2 ++ 1 file changed, 2 insertions(+) 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); }