Skip to content

Commit

Permalink
Bench: 30658368
Browse files Browse the repository at this point in the history
  • Loading branch information
TerjeKir committed Nov 18, 2023
1 parent 6eb4c00 commit cc90f9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/movegen.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ INLINE void AddPromotions(const Position *pos, MoveList *list, const Color color
}
}

// Used to add pawn moves aside from promos and en passant
// Adds pawn moves aside from promos and en passant
INLINE void AddPawnMoves(const Position *pos, MoveList *list, Bitboard moves, const Direction dir, const int flag) {
while (moves) {
Square to = PopLsb(&moves);
Expand Down
7 changes: 1 addition & 6 deletions src/transposition.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,7 @@ TTEntry* ProbeTT(const Key key, bool *ttHit) {
}

// Store an entry in the transposition table
void StoreTTEntry(TTEntry *tte, const Key key,
const Move move,
const int score,
const int eval,
const Depth depth,
const int bound) {
void StoreTTEntry(TTEntry *tte, Key key, Move move, int score, int eval, Depth depth, int bound) {

assert(ValidBound(bound));
assert(ValidScore(score));
Expand Down

0 comments on commit cc90f9f

Please sign in to comment.