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 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/bitboard.h b/src/bitboard.h index f8440a2..37585bb 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 -- 1.7.0.4