Skip to content

Commit

Permalink
fix mujoco _reset method
Browse files Browse the repository at this point in the history
  • Loading branch information
joschu committed May 1, 2016
1 parent fbb6033 commit 795640d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gym/envs/mujoco/mujoco_env.py
Expand Up @@ -80,8 +80,8 @@ def viewer_setup(self):
# -----------------------------

def _reset(self):
mjlib.mj_resetData(self.model.ptr, self.data.ptr)
ob = self.reset_model()
# mjlib.mj_resetData(self.model.ptr, self.data.ptr)
if self.viewer is not None:
self.viewer.autoscale()
self.viewer_setup()
Expand Down

0 comments on commit 795640d

Please sign in to comment.