From 5c19da60cc792745e47aa08c1c625226b7efcd36 Mon Sep 17 00:00:00 2001 From: Lindsey Date: Fri, 27 Feb 2015 12:13:01 -0800 Subject: [PATCH] fixed MeMuI, should be invmat=True, as opposed to 1/mu --- simpegEM/Base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simpegEM/Base.py b/simpegEM/Base.py index 38fca561..459a4e1e 100644 --- a/simpegEM/Base.py +++ b/simpegEM/Base.py @@ -52,7 +52,7 @@ class BaseEMProblem(Problem.BaseProblem): def MeMuI(self): # Assuming isotropic mu! if getattr(self, '_MeMuI', None) is None: - self._MeMuI = self.mesh.getEdgeInnerProduct(1/self.mu) + self._MeMuI = self.mesh.getEdgeInnerProduct(self.mu, invMat=True) return self._MeMuI @property