From 22f0a742e732277fcd518da0e1b2812ad921eb93 Mon Sep 17 00:00:00 2001 From: GudniRos Date: Mon, 2 May 2016 05:16:56 -0700 Subject: [PATCH] Fixed UBC mesh read in function --- SimPEG/Mesh/MeshIO.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SimPEG/Mesh/MeshIO.py b/SimPEG/Mesh/MeshIO.py index 3ae4d88f..2b0de9e7 100644 --- a/SimPEG/Mesh/MeshIO.py +++ b/SimPEG/Mesh/MeshIO.py @@ -21,7 +21,7 @@ class TensorMeshIO(object): if '*' in seg: st = seg sp = seg.split('*') - re = np.array(sp[0],dtype=int)*(' ' + sp[1]) + re = int(sp[0])*(' ' + sp[1]) line = line.replace(st,re.strip()) return np.array(line.split(),dtype=float)