]> git.sesse.net Git - stockfish/blobdiff - src/bitboard.h
Simplify KBNK endgame implementation
[stockfish] / src / bitboard.h
index 37585bb19b18e8e25feb54120429b3177caa6da6..f8440a23a1aaf3f71635c672200786573d26b2b7 100644 (file)
@@ -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