Reduce limit to 32 piece types
authorianfab <ianfab@users.noreply.github.com>
Sat, 23 Jun 2018 23:22:12 +0000 (01:22 +0200)
committerianfab <ianfab@users.noreply.github.com>
Sat, 23 Jun 2018 23:22:12 +0000 (01:22 +0200)
src/types.h

index 6b0f033..0003e17 100644 (file)
@@ -201,7 +201,7 @@ enum Value : int {
   MidgameLimit  = 15258, EndgameLimit  = 3915
 };
 
-const int PIECE_TYPE_BITS = 6; // PIECE_TYPE_NB = pow(2, PIECE_TYPE_BITS)
+const int PIECE_TYPE_BITS = 5; // PIECE_TYPE_NB = pow(2, PIECE_TYPE_BITS)
 
 enum PieceType {
   NO_PIECE_TYPE, PAWN, KNIGHT, BISHOP, ROOK,