mirror of
https://github.com/wassname/simpeg.git
synced 2026-06-27 19:48:52 +08:00
assign self.nP in startup of PropMap
This commit is contained in:
@@ -239,6 +239,7 @@ class PropMap(object):
|
||||
setattr(self, '%sMap'%name, mapping)
|
||||
setattr(self, '%sIndex'%name, slices.get(name, slice(nP, nP + mapping.nP)))
|
||||
nP += mapping.nP
|
||||
self.nP = nP
|
||||
|
||||
@property
|
||||
def defaultInvProp(self):
|
||||
|
||||
Reference in New Issue
Block a user