diff --git a/SimPEG/Maps.py b/SimPEG/Maps.py index a6179f85..699d7c26 100644 --- a/SimPEG/Maps.py +++ b/SimPEG/Maps.py @@ -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