mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Misc coding style fixes
a few comment and blank fixes. No functional change Closes #1141
This commit is contained in:
parent
b73016bb41
commit
2c237da546
6 changed files with 11 additions and 11 deletions
|
@ -186,7 +186,7 @@ inline Bitboard forward_bb(Color c, Square s) {
|
|||
/// pawn_attack_span() returns a bitboard representing all the squares that can be
|
||||
/// attacked by a pawn of the given color when it moves along its file, starting
|
||||
/// from the given square:
|
||||
/// PawnAttackSpan[c][s] = in_front_bb(c, rank_of(s)) & adjacent_files_bb(s);
|
||||
/// PawnAttackSpan[c][s] = in_front_bb(c, rank_of(s)) & adjacent_files_bb(file_of(s));
|
||||
|
||||
inline Bitboard pawn_attack_span(Color c, Square s) {
|
||||
return PawnAttackSpan[c][s];
|
||||
|
|
Loading…
Add table
Reference in a new issue