Merge branch 'master' of https://bitbucket.org/rcockett/simpeg into Interpolation_TensorMesh

This commit is contained in:
Rowan Cockett
2013-11-04 16:26:18 -08:00
40 changed files with 1674 additions and 530 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ class TensorMesh(BaseMesh, TensorView, DiffOperators, InnerProducts):
assert len(h_i.shape) == 1, ("h[%i] must be a 1D numpy array." % i)
# Ensure h contains 1D vectors
self._h = [mkvc(x) for x in h]
self._h = [mkvc(x.astype(float)) for x in h]
def __str__(self):
outStr = ' ---- {0:d}-D TensorMesh ---- '.format(self.dim)