]> git.sesse.net Git - stockfish/commitdiff
remove parenthesis.
authorprotonspring <mike@whiteley.org>
Sun, 9 Dec 2018 00:19:06 +0000 (17:19 -0700)
committerStéphane Nicolet <Stephane.Nicolet@u-paris2.fr>
Sun, 9 Dec 2018 11:59:57 +0000 (12:59 +0100)
src/bitboard.h

index 37585bb19b18e8e25feb54120429b3177caa6da6..f1db634f1bd058910ef32127bb9f6f956437dd9b 100644 (file)
@@ -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