BOUND_NONE = 0,
BOUND_UPPER = 1,
BOUND_LOWER = 2,
- BOUND_EXACT = BOUND_UPPER | BOUND_LOWER | 4
+ BOUND_EXACT = BOUND_UPPER | BOUND_LOWER
};
enum Value {
template<MoveType T>
inline Move make(Square from, Square to, PieceType pt = KNIGHT) {
- return Move(to | (from << 6) | T | ((pt - KNIGHT) << 12)) ;
+ return Move(to | (from << 6) | T | ((pt - KNIGHT) << 12));
}
inline bool is_ok(Move m) {