Skip to content

Commit

Permalink
Update test_einsum.py
Browse files Browse the repository at this point in the history
  • Loading branch information
PhiSpel authored Sep 11, 2024
1 parent ac3d10c commit 5a832c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/flow/test_einsum.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def test_einsum(fix_dim):
f_log = -torch.log(torch.einsum("q...,q...->q...", [flow.f,
1 / flow.torch_stencil.w]))
f2 = torch.einsum("q...,q...->...", [flow.f, f_log])
assert torch.allclose(f0, f1, rtol=)
assert torch.allclose(f0, f1)
assert torch.allclose(f1, f2)

f0 = flow.pseudo_entropy_global()
Expand Down

0 comments on commit 5a832c2

Please sign in to comment.