From 428ca9b9c39eb17c476b4a797be665d85e71c13a Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Wed, 6 Apr 2022 10:19:02 -0500
Subject: [PATCH] Bump the right tolerance (not the wrong one) in
 test_mass_mat_trig (old symbolic)

Fixes https://github.com/inducer/grudge/pull/248/
---
 test/test_grudge_sym_old.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/test_grudge_sym_old.py b/test/test_grudge_sym_old.py
index 30814189..41c3a8cb 100644
--- a/test/test_grudge_sym_old.py
+++ b/test/test_grudge_sym_old.py
@@ -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))))
     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))))
     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:
         # NOTE: `integral` always makes a square mass matrix and
-- 
GitLab