Skip to content

Commit

Permalink
Change deck size type.
Browse files Browse the repository at this point in the history
  • Loading branch information
tindiz committed Aug 3, 2024
1 parent 710e292 commit 1e8587c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jaxmarl/environments/hanabi/hanabi_game.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def __init__(
self.max_info_tokens = max_info_tokens
self.max_life_tokens = max_life_tokens
self.num_cards_of_rank = num_cards_of_rank
self.deck_size = jnp.sum(num_cards_of_rank) * num_colors
self.deck_size = np.sum(num_cards_of_rank) * num_colors
self.color_map = color_map

# action ranges - useful to know
Expand Down

0 comments on commit 1e8587c

Please sign in to comment.