projects
/
stockfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fefc0c6
)
add paren.
author
protonspring
<mike@whiteley.org>
Sat, 8 Dec 2018 18:08:21 +0000
(11:08 -0700)
committer
Stéphane Nicolet
<Stephane.Nicolet@u-paris2.fr>
Sun, 9 Dec 2018 11:59:57 +0000
(12:59 +0100)
src/bitboard.h
patch
|
blob
|
history
diff --git
a/src/bitboard.h
b/src/bitboard.h
index f8440a23a1aaf3f71635c672200786573d26b2b7..37585bb19b18e8e25feb54120429b3177caa6da6 100644
(file)
--- 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