Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Feb 15, 2024
1 parent 70c1523 commit a6dc5ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -2523,7 +2523,7 @@ def _step(self, tensordict):
)

torch.manual_seed(0)
policy = Actor(torch.nn.Linear(3, 3))
policy = Actor(torch.nn.Linear(3, 3, device=device))
env0 = DifferentiableEnv(device=device)
seed = env0.set_seed(0)
env1 = DifferentiableEnv(device=device)
Expand Down

0 comments on commit a6dc5ee

Please sign in to comment.