changeset 384:3a779c31e59e refactor/sbp_operators_tests/collect_and_compare

Rewrite tolerance values to be more concise
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 01 Oct 2020 06:15:21 +0200
parents aaf8e331cb80
children 6ef73611f4d9
files test/testSbpOperators.jl
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/testSbpOperators.jl	Thu Oct 01 06:11:40 2020 +0200
+++ b/test/testSbpOperators.jl	Thu Oct 01 06:15:21 2020 +0200
@@ -104,8 +104,8 @@
     # TODO: Should perhaps set tolerance level for isapporx instead?
     #       Are these tolerance levels resonable or should tests be constructed
     #       differently?
-    equalitytol = 0.5*1e-10
-    accuracytol = 0.5*1e-3
+    equalitytol = 5e-11
+    accuracytol = 5e-4
     # 4th order interior stencil, 2nd order boundary stencil,
     # implies that L*v should be exact for v - monomial up to order 3.
     # Exact differentiation is measured point-wise. For other grid functions