Skip to content

Commit

Permalink
Applies black
Browse files Browse the repository at this point in the history
  • Loading branch information
prabhatnagarajan committed Oct 29, 2020
1 parent 8c616e5 commit 9721d1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/her/train_dqn_bit_flip.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ def step(self, action):
self.observation["achieved_goal"] = new_obs
self.observation["observation"] = new_obs

reward = self.compute_reward(self.observation["achieved_goal"],
self.observation["desired_goal"],
{})
reward = self.compute_reward(
self.observation["achieved_goal"], self.observation["desired_goal"], {}
)
done_success = (
self.observation["desired_goal"] == self.observation["achieved_goal"]
).all()
Expand Down

0 comments on commit 9721d1a

Please sign in to comment.