Skip to content

Commit

Permalink
add paren.
Browse files Browse the repository at this point in the history
  • Loading branch information
protonspring authored and snicolet committed Dec 9, 2018
1 parent fefc0c6 commit 090e495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bitboard.h
Expand Up @@ -136,7 +136,7 @@ constexpr bool more_than_one(Bitboard b) {
}

inline bool opposite_colors(Square s1, Square s2) {
return bool(DarkSquares & s1) != bool(DarkSquares & s2);
return (bool(DarkSquares & s1) != bool(DarkSquares & s2));
}

/// rank_bb() and file_bb() return a bitboard representing all the squares on
Expand Down

0 comments on commit 090e495

Please sign in to comment.