mirror of
https://github.com/wassname/simpeg.git
synced 2026-08-17 11:26:45 +08:00
getIndicesBlock typo.
This commit is contained in:
@@ -19,7 +19,7 @@ class IPProblemTests(unittest.TestCase):
|
||||
sigma = np.ones(mesh.nC)*sighalf
|
||||
p0 = np.r_[-50., 50., -50.]
|
||||
p1 = np.r_[ 50.,-50., -150.]
|
||||
blk_ind = Utils.ModelBuilder.getIndecesBlock(p0, p1, mesh.gridCC)
|
||||
blk_ind = Utils.ModelBuilder.getIndicesBlock(p0, p1, mesh.gridCC)
|
||||
sigma[blk_ind] = 1e-3
|
||||
eta = np.zeros_like(sigma)
|
||||
eta[blk_ind] = 0.1
|
||||
|
||||
Reference in New Issue
Block a user