1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-11 19:49:14 +00:00

add paren.

This commit is contained in:
protonspring 2018-12-08 11:08:21 -07:00 committed by Stéphane Nicolet
parent fefc0c6789
commit 090e49547e

View file

@ -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