From 38e1d5a1ebf9ffad6eef1cf72bcb85cf554ab3c7 Mon Sep 17 00:00:00 2001 From: rowanc1 Date: Tue, 11 Feb 2014 19:16:11 -0800 Subject: [PATCH] lower tolerance on testing random meshes for 1D interpolation --- SimPEG/Tests/test_interpolation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SimPEG/Tests/test_interpolation.py b/SimPEG/Tests/test_interpolation.py index d01dcbc3..018f9091 100644 --- a/SimPEG/Tests/test_interpolation.py +++ b/SimPEG/Tests/test_interpolation.py @@ -4,7 +4,7 @@ from TestUtils import OrderTest from SimPEG.Utils import mkvc MESHTYPES = ['uniformTensorMesh', 'randomTensorMesh'] -TOLERANCES = [0.9, 0.55] +TOLERANCES = [0.9, 0.5] call1 = lambda fun, xyz: fun(xyz) call2 = lambda fun, xyz: fun(xyz[:, 0], xyz[:, 1]) call3 = lambda fun, xyz: fun(xyz[:, 0], xyz[:, 1], xyz[:, 2]) @@ -23,7 +23,7 @@ class TestInterpolation1D(OrderTest): meshTypes = MESHTYPES tolerance = TOLERANCES meshDimension = 1 - meshSizes = [8, 16, 32] + meshSizes = [8, 16, 32, 64, 128] def getError(self): funX = lambda x: np.cos(2*np.pi*x)