mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 01:56:58 +08:00
add paren.
This commit is contained in:
committed by
Stéphane Nicolet
parent
fefc0c6789
commit
090e49547e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user