- better model for testing Parametric casing map

- allow vector containing values in the inactive set to be passed (not just nC in length)
This commit is contained in:
Lindsey Heagy
2016-06-26 15:24:33 -07:00
parent c75e3d0246
commit c40d11ef53
2 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ class MapTests(unittest.TestCase):
def test_ParametricCasingAndLayer(self):
mapping = Maps.ParametrizedCasingAndLayer(self.meshCyl)
m = np.r_[-2., 1., 6., 2., -0.1, 0.2, 0.5, 0.2, -0.3, 0.1]
m = np.r_[-2., 1., 6., 2., -0.1, 0.2, 0.5, 0.2, -0.2, 0.2]
self.assertTrue(mapping.test(m))
def test_transforms_logMap_reciprocalMap(self):