mixed up Bitboard rank and file?
Sopel97 opened this issue · comments
chess_pos_db/src/chess/Bitboard.h
Line 91 in 2e88d93
shouldn't this be the other way around? a file has contiguous bits.
edit.
actually the comment seems to be wrong, square is consistent with this
this would mean square to string is wrong. values is in the wrong order.
flipVertically/Horizontally are wrong.
file(),rank() could use bitwise ops.
fixed in 9c5dbb9 and previous