Skip to content

Commit

Permalink
docstring fix for compute_reward (#2380)
Browse files Browse the repository at this point in the history
  • Loading branch information
lubiluk authored Sep 1, 2021
1 parent 7573c57 commit ee0a568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gym/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def compute_reward(self, achieved_goal, desired_goal, info):
goal. Note that the following should always hold true:
ob, reward, done, info = env.step()
assert reward == env.compute_reward(ob['achieved_goal'], ob['goal'], info)
assert reward == env.compute_reward(ob['achieved_goal'], ob['desired_goal'], info)
"""
raise NotImplementedError

Expand Down

0 comments on commit ee0a568

Please sign in to comment.