From a8e903c33a676decfcf5c721b6b4bfdb4102e5c0 Mon Sep 17 00:00:00 2001 From: protonspring Date: Sat, 8 Dec 2018 17:19:06 -0700 Subject: [PATCH] remove parenthesis. --- src/bitboard.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bitboard.h b/src/bitboard.h index 37585bb1..f1db634f 100644 --- a/src/bitboard.h +++ b/src/bitboard.h @@ -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 -- 2.39.2