From 090e49547ecaba8c9ec696d75f2fca3020bb058a Mon Sep 17 00:00:00 2001 From: protonspring Date: Sat, 8 Dec 2018 11:08:21 -0700 Subject: [PATCH] add paren. --- src/bitboard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bitboard.h b/src/bitboard.h index f8440a23..37585bb1 100644 --- a/src/bitboard.h +++ b/src/bitboard.h @@ -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 -- 2.39.2