add paren.
authorprotonspring <mike@whiteley.org>
Sat, 8 Dec 2018 18:08:21 +0000 (11:08 -0700)
committerStéphane Nicolet <Stephane.Nicolet@u-paris2.fr>
Sun, 9 Dec 2018 11:59:57 +0000 (12:59 +0100)
src/bitboard.h

index f8440a2..37585bb 100644 (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