Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Feb 5, 2024
1 parent 3bb5ecb commit 2ea60a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,8 @@ class MockGym:

@pytest.mark.parametrize("device", get_default_devices())
def test_rng_decorator(device):
torch.manual_seed(10)
with torch.device(device):
torch.manual_seed(10)
s0a = torch.randn(3)
with _rng_decorator(0):
torch.randn(3)
Expand Down

0 comments on commit 2ea60a9

Please sign in to comment.