X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbitboard.h;h=f8440a23a1aaf3f71635c672200786573d26b2b7;hp=37585bb19b18e8e25feb54120429b3177caa6da6;hb=5446e6f408f2ed7fa281dbe0097c46674d193260;hpb=090e49547ecaba8c9ec696d75f2fca3020bb058a diff --git a/src/bitboard.h b/src/bitboard.h index 37585bb1..f8440a23 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