mirror of
https://github.com/wassname/simpeg.git
synced 2026-07-04 04:45:06 +08:00
change minor bug for meshIO
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user