Skip to content

Commit

Permalink
remove atol from test
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandraVolokhova committed Aug 26, 2024
1 parent 0ef0d1c commit 42b1913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/gflownet/utils/test_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -1641,7 +1641,7 @@ def test__get_logrewards_multiple_env_returns_expected_non_zero_non_terminating(
)
), (logrewards, logrewards_batch)
assert ~torch.any(
torch.isclose(logrewards_batch, torch.zeros_like(logrewards_batch), atol=1e-10)
torch.isclose(logrewards_batch, torch.zeros_like(logrewards_batch))
), logrewards_batch


Expand Down

0 comments on commit 42b1913

Please sign in to comment.