Skip to content

Commit

Permalink
Update env_base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens authored and vikashplus committed Jan 12, 2024
1 parent 9a42f8e commit bc994ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robohive/envs/env_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ def time(self):
def id(self):
return self.spec.id


@property
def horizon(self):
return gym.registry[self.spec.id].max_episode_steps # paths could have early termination before horizon

Expand Down

0 comments on commit bc994ef

Please sign in to comment.