From 3a2bbf936b11facc8a49838f266bdb9193006160 Mon Sep 17 00:00:00 2001 From: Alexandru Fikl Date: Fri, 19 Mar 2021 20:07:53 -0500 Subject: [PATCH] fix possible nan eoc in test_mass_surface_area --- test/test_grudge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_grudge.py b/test/test_grudge.py index cd2b057d..d8c3046e 100644 --- a/test/test_grudge.py +++ b/test/test_grudge.py @@ -241,7 +241,7 @@ def test_mass_surface_area(actx_factory, name): h_max = bind(discr, sym.h_max_from_volume( discr.ambient_dim, dim=discr.dim, dd=dd))(actx) - eoc.add_data_point(h_max, area_error) + eoc.add_data_point(h_max, area_error + 1.0e-16) # }}} -- GitLab