Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
yjf2002ghty committed May 5, 2024
1 parent ede38d8 commit 80d9cba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/bitboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -667,8 +667,7 @@ inline Bitboard least_significant_square_bb(Bitboard b) {

inline Square pop_lsb(Bitboard& b) {
assert(b);
Bitboard b2 = b;
const Square s = lsb(b2);
const Square s = lsb(b);
b &= b - 1;
return s;
}
Expand Down

0 comments on commit 80d9cba

Please sign in to comment.