minor test fix
This commit is contained in:
@@ -82,7 +82,7 @@ def test_repeat_seeds():
|
||||
True,
|
||||
)
|
||||
|
||||
assert torch.sum(r[0]).item() == 0.0
|
||||
assert torch.sum(r[0]).item() <= 1e-5
|
||||
|
||||
|
||||
def test_horizon_repeat_seeds():
|
||||
@@ -153,4 +153,4 @@ def test_horizon_repeat_seeds():
|
||||
False,
|
||||
True,
|
||||
)
|
||||
assert torch.sum(r[0]).item() < 1e-6
|
||||
assert torch.sum(r[0]).item() < 1e-5
|
||||
|
||||
Reference in New Issue
Block a user