Skip to content

Commit

Permalink
Relax accuracy of TestTriangle.test_flux_x
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-vv committed Nov 8, 2024
1 parent c3363fc commit 0fb87e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_triangle.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def test(x0, a, b, c, z0):

correct = flux_exact_integrated(v0, v1, v2, target, [1., 0, 0])
approx = B.flux_triangle(v0, v1, v2, target, normal)
assert np.isclose(correct, approx, atol=0., rtol=5e-12), (x0, a,b,c, z0)
assert np.isclose(correct, approx, atol=0., rtol=1e-10), (x0, a,b,c, z0)

N = 10
for x0, a, b, c, z0 in zip(
Expand Down

0 comments on commit 0fb87e1

Please sign in to comment.