Skip to content

Commit

Permalink
Update jumanji/environments/logic/sliding_tile_puzzle/env.py
Browse files Browse the repository at this point in the history
Co-authored-by: Sasha <[email protected]>
  • Loading branch information
ElshadaiK and sash-a authored Jan 16, 2024
1 parent 5e21eff commit eff4b8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jumanji/environments/logic/sliding_tile_puzzle/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def _move_empty_tile(
puzzle: chex.Array,
empty_tile_position: chex.Array,
action: chex.Array,
) -> Tuple[chex.Array, chex.Array]:
) -> chex.Array:
"""Moves the empty tile in the given direction and returns the updated puzzle and reward."""

# Compute the new position
Expand Down

0 comments on commit eff4b8b

Please sign in to comment.