X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Ftypes.h;h=506e1b0f9b5f1adeb6c82db127d89b5165432ec4;hp=785d98986ea39e1cbcab7bbb8e65562ace65efe7;hb=b5b799b5ab4de93aa8a03a310d2f178698a5cf86;hpb=9edc7d6958fd616daecb0ab9ae2aa92042b3d34a diff --git a/src/types.h b/src/types.h index 785d9898..506e1b0f 100644 --- a/src/types.h +++ b/src/types.h @@ -164,7 +164,7 @@ enum Bound { BOUND_NONE = 0, BOUND_UPPER = 1, BOUND_LOWER = 2, - BOUND_EXACT = BOUND_UPPER | BOUND_LOWER | 4 + BOUND_EXACT = BOUND_UPPER | BOUND_LOWER }; enum Value { @@ -475,7 +475,7 @@ inline Move make_move(Square from, Square to) { template 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) {