projects
/
fairystockfish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
984bbf8
)
Fix upstream merge for large-board version
author
Fabian Fichter
<ianfab@users.noreply.github.com>
Sat, 23 Mar 2019 15:02:38 +0000 (16:02 +0100)
committer
Fabian Fichter
<ianfab@users.noreply.github.com>
Sat, 23 Mar 2019 15:02:38 +0000 (16:02 +0100)
src/bitboard.h
patch
|
blob
|
history
diff --git
a/src/bitboard.h
b/src/bitboard.h
index
16039cf
..
568f761
100644
(file)
--- a/
src/bitboard.h
+++ b/
src/bitboard.h
@@
-187,7
+187,7
@@
inline bool opposite_colors(Square s1, Square s2) {
/// the given file or rank.
inline Bitboard rank_bb(Rank r) {
- return Rank1BB << (8 * r);
+ return Rank1BB << (FILE_NB * r);
}
inline Bitboard rank_bb(Square s) {