projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(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
f8440a2
..
37585bb
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