Skip to content

Commit

Permalink
Bench: 19132122
Browse files Browse the repository at this point in the history
  • Loading branch information
TerjeKir committed Oct 14, 2023
1 parent 55e7499 commit 41d9ce3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/history.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit 41d9ce3

Please sign in to comment.