Bitwise operators precedence issue here, was
causing an assert.
This is a fallout from recent patches.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
- b1 = (pos.knight_attacks(checksq) & pos.knights(us))
- | (pos.bishop_attacks(checksq) & pos.bishops_and_queens(us))
- | (pos.rook_attacks(checksq) & pos.rooks_and_queens(us))
- & not_pinned;
+ b1 = ( (pos.knight_attacks(checksq) & pos.knights(us))
+ | (pos.bishop_attacks(checksq) & pos.bishops_and_queens(us))
+ | (pos.rook_attacks(checksq) & pos.rooks_and_queens(us)) ) & not_pinned;