Skip to content

Commit

Permalink
Update test_einsum.py (#249)
Browse files Browse the repository at this point in the history
* Update test_einsum.py

* Update test_einsum.py
  • Loading branch information
PhiSpel authored Sep 11, 2024
1 parent d00c4c0 commit 6b61e75
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 @@ -170,7 +170,7 @@ def source_term(self, u):

@pytest.mark.parametrize("fix_dim", [1, 2, 3])
def test_einsum(fix_dim):
context = Context()
context = Context(dtype=torch.float64)

flow = EinsumFlow(context, [16] * fix_dim)
flow.f = torch.rand_like(flow.f)
Expand Down

0 comments on commit 6b61e75

Please sign in to comment.