Skip to content

Commit

Permalink
no need to recast as floats in step again
Browse files Browse the repository at this point in the history
  • Loading branch information
l1onh3art88 committed Feb 19, 2025
1 parent 7261350 commit 8222ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pufferlib/ocean/pong/pong.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def step(self, actions):
self.actions[:] = np.clip(actions.flatten(), -1.0, 1.0)
else:
self.actions[:] = actions

self.c_envs.step()
info = []
if self.tick % self.report_interval == 0:
Expand Down

0 comments on commit 8222ec4

Please sign in to comment.