Skip to content
Snippets Groups Projects
Commit 343e4817 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Merge branch 'master' into array-context

parents 101422c7 fbac4a0b
No related branches found
No related tags found
No related merge requests found
......@@ -144,11 +144,11 @@ def test_mass_mat_trig(ctx_factory, ambient_dim, quad_tag):
num_integral_1 = np.dot(ones_volm, actx.to_numpy(flatten(mass_op(f=f_quad))))
err_1 = abs(num_integral_1 - true_integral)
assert err_1 < 5.0e-10, err_1
assert err_1 < 1e-9, err_1
num_integral_2 = np.dot(f_volm, actx.to_numpy(flatten(mass_op(f=ones_quad))))
err_2 = abs(num_integral_2 - true_integral)
assert err_2 < 5.0e-10, err_2
assert err_2 < 1.0e-9, err_2
if quad_tag is sym.QTAG_NONE:
# 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