Skip to content
Snippets Groups Projects
Commit 428ca9b9 authored by Andreas Klöckner's avatar Andreas Klöckner Committed by Andreas Klöckner
Browse files

Bump the right tolerance (not the wrong one) in test_mass_mat_trig (old symbolic)

parent 314b7157
No related branches found
No related tags found
No related merge requests found
Pipeline #281984 passed
...@@ -144,11 +144,11 @@ def test_mass_mat_trig(actx_factory, ambient_dim, discr_tag): ...@@ -144,11 +144,11 @@ def test_mass_mat_trig(actx_factory, ambient_dim, discr_tag):
num_integral_1 = np.dot(ones_volm, actx.to_numpy(flatten(mass_op(f=f_quad)))) num_integral_1 = np.dot(ones_volm, actx.to_numpy(flatten(mass_op(f=f_quad))))
err_1 = abs(num_integral_1 - true_integral) err_1 = abs(num_integral_1 - true_integral)
assert err_1 < 2e-9, err_1 assert err_1 < 6e-9, err_1
num_integral_2 = np.dot(f_volm, actx.to_numpy(flatten(mass_op(f=ones_quad)))) num_integral_2 = np.dot(f_volm, actx.to_numpy(flatten(mass_op(f=ones_quad))))
err_2 = abs(num_integral_2 - true_integral) err_2 = abs(num_integral_2 - true_integral)
assert err_2 < 6e-9, err_2 assert err_2 < 2e-9, err_2
if discr_tag is dof_desc.DISCR_TAG_BASE: if discr_tag is dof_desc.DISCR_TAG_BASE:
# NOTE: `integral` always makes a square mass matrix and # NOTE: `integral` always makes a square mass matrix and
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment