From 8bf22edb210a1dbecda59f93829d410a68a9cf40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= <inform@tiker.net>
Date: Thu, 17 Jun 2021 18:08:21 -0500
Subject: [PATCH] Bump tol test mass_mat_trig (symbolic tests) (#127)

* Bump tolerance for test_mass_mat_trig in test_grudge_sym_old

* Set tolerances in test_mass_trig (for old sym code) equal to ones in new-style tests
---
 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 ed47028f..a8f82f1e 100644
--- a/test/test_grudge_sym_old.py
+++ b/test/test_grudge_sym_old.py
@@ -143,11 +143,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 < 1e-9, err_1
+    assert err_1 < 2e-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 < 1.0e-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