From d9f0241da3e960467b06a6f89c29da631ac609fe Mon Sep 17 00:00:00 2001 From: Lindsey Heagy Date: Sun, 29 May 2016 14:21:08 -0700 Subject: [PATCH] typo fix in nC (it is mesh.nC) --- SimPEG/Maps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SimPEG/Maps.py b/SimPEG/Maps.py index b45cba03..77284406 100644 --- a/SimPEG/Maps.py +++ b/SimPEG/Maps.py @@ -1164,7 +1164,7 @@ class ParametrizedBlockInLayer(IdentityMap): def shape(self): if self.indActive is not None: return (sum(self.indActive), self.nP) - return (self.nC, self.nP) + return (self.mesh.nC, self.nP) def _validate_m(self, m): # TODO: more sanity checks here