From de264a251f0ce3f5623e78db74853ecb456f6d42 Mon Sep 17 00:00:00 2001 From: Lindsey Heagy Date: Wed, 15 Oct 2014 17:32:25 -0700 Subject: [PATCH] - fixed weights.nP --- SimPEG/Maps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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