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

remove parenthesis.

This commit is contained in:
protonspring 2018-12-08 17:19:06 -07:00 committed by Stéphane Nicolet
parent 090e49547e
commit a8e903c33a

View file

@ -136,7 +136,8 @@ 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