assign self.nP in startup of PropMap

This commit is contained in:
Lindsey Heagy
2015-06-30 22:54:56 -07:00
parent 37368199f1
commit 954cb2d7bc
+1
View File
@@ -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):