diff --git a/fancy_gym/envs/classic_control/base_reacher/base_reacher.py b/fancy_gym/envs/classic_control/base_reacher/base_reacher.py index a03115d..2463134 100644 --- a/fancy_gym/envs/classic_control/base_reacher/base_reacher.py +++ b/fancy_gym/envs/classic_control/base_reacher/base_reacher.py @@ -14,8 +14,8 @@ class BaseReacherEnv(gym.Env): Base class for all reaching environments. """ - def __init__(self, n_links: int, random_start: bool = True, allow_self_collision: bool = False, render_mode: str = None, **kwargs): - super().__init__(render_mode=render_mode, **kwargs) + def __init__(self, n_links: int, random_start: bool = True, allow_self_collision: bool = False, render_mode: str = None): + super().__init__() self.link_lengths = np.ones(n_links) self.n_links = n_links self._dt = 0.01