Skip to content

Commit

Permalink
fix doc for refactored function
Browse files Browse the repository at this point in the history
  • Loading branch information
tindiz committed Jul 18, 2024
1 parent 9df6c3d commit 710e292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jaxmarl/environments/hanabi/hanabi.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def _observe(aidx: int):
return {a: obs[i] for i, a in enumerate(self.agents)}

def get_legal_moves(self, state: State) -> chex.Array:
# Play is legal when card is in hand.
"""Get all agents' legal moves"""

@partial(jax.vmap, in_axes=[0, None])
def _legal_moves(aidx: int, state: State) -> chex.Array:
Expand Down

0 comments on commit 710e292

Please sign in to comment.