Skip to content

Commit

Permalink
Bench: 2650106
Browse files Browse the repository at this point in the history
  • Loading branch information
jhonnold committed Nov 14, 2024
1 parent 4531e10 commit 0006fd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/history.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

INLINE int GetQuietHistory(SearchStack* ss, ThreadData* thread, Move move) {
return (int) HH(thread->board.stm, move, thread->board.threatened) + //
(int) PH(thread->board.pawnZobrist, move) + //
(int) (*(ss - 1)->ch)[Moving(move)][To(move)] + //
(int) (*(ss - 2)->ch)[Moving(move)][To(move)] + //
(int) (*(ss - 4)->ch)[Moving(move)][To(move)];
Expand Down
3 changes: 2 additions & 1 deletion src/movepick.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ INLINE void ScoreMoves(MovePicker* picker, Board* board, const int type) {
(int) (*(ss - 1)->ch)[pc][to] * 2 + //
(int) (*(ss - 2)->ch)[pc][to] * 2 + //
(int) (*(ss - 4)->ch)[pc][to] + //
(int) (*(ss - 6)->ch)[pc][to];
(int) (*(ss - 6)->ch)[pc][to] + //
(int) PH(board->pawnZobrist, move);

if (pt != PAWN && pt != KING) {
const BitBoard danger = threats[Max(0, pt - BISHOP)];
Expand Down

0 comments on commit 0006fd5

Please sign in to comment.