From bc994ef0e3746e38dbf16eb081d6bd962ce51479 Mon Sep 17 00:00:00 2001 From: Vincent Moens Date: Thu, 11 Jan 2024 13:36:29 +0000 Subject: [PATCH] Update env_base.py --- robohive/envs/env_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robohive/envs/env_base.py b/robohive/envs/env_base.py index 44d6c3ae..f2f277ac 100644 --- a/robohive/envs/env_base.py +++ b/robohive/envs/env_base.py @@ -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