mirror of
https://github.com/wassname/simpeg.git
synced 2026-09-12 12:51:28 +08:00
- fixed weights.nP
This commit is contained in:
+1
-1
@@ -449,7 +449,7 @@ class Weighting(IdentityMap):
|
||||
@property
|
||||
def nP(self):
|
||||
"""Number of parameters in the model."""
|
||||
return self.indActive.sum()
|
||||
return self.nC
|
||||
|
||||
def _transform(self, m):
|
||||
return self.P*m
|
||||
|
||||
Reference in New Issue
Block a user