Skip to content

Commit

Permalink
fixed shape mismatch between achieved and actual goal
Browse files Browse the repository at this point in the history
Domattee committed May 4, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 89c7768 commit 29b846e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mimoEnv/envs/selfbody.py
Original file line number Diff line number Diff line change
@@ -262,4 +262,4 @@ def _get_achieved_goal(self):
Returns:
numpy.ndarray: An empty array.
"""
return np.zeros((0,))
return np.zeros(self.goal.shape)

0 comments on commit 29b846e

Please sign in to comment.