Skip to content

Commit

Permalink
Use conventional error definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
dham authored Oct 30, 2024
1 parent 1feca7f commit fb28d95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/regression/test_integral_hex.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ def test_integral_hex_interior_facet_solve(mesh_from_file):
bc = DirichletBC(V, f, "on_boundary")
sol = Function(V)
solve(a == L, sol, bcs=[bc])
err = assemble((sol - f)**2 * dx)
assert err < 1.e-28
err = assemble((sol - f)**2 * dx)**0.5
assert err < 1.e-14

0 comments on commit fb28d95

Please sign in to comment.