From dbdcc3cefb28cfaa7802b28468d5f0cc60f70e9f Mon Sep 17 00:00:00 2001 From: Lindsey Heagy Date: Wed, 4 May 2016 22:06:32 -0700 Subject: [PATCH] use sigma in MfRhoDeriv - due to propmap bug --- SimPEG/EM/Base.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/SimPEG/EM/Base.py b/SimPEG/EM/Base.py index 032b4429..a16cdb91 100644 --- a/SimPEG/EM/Base.py +++ b/SimPEG/EM/Base.py @@ -165,8 +165,7 @@ class BaseEMProblem(Problem.BaseProblem): """ Derivative of :code:`MfRho` with respect to the model. """ - return self.mesh.getFaceInnerProductDeriv(self.curModel.rho)(u) * self.curModel.rhoDeriv - # (-Utils.sdiag(self.curModel.rho**2) * self.curModel.sigmaDeriv) + return self.mesh.getFaceInnerProductDeriv(self.curModel.rho)(u) * (-Utils.sdiag(self.curModel.rho**2) * self.curModel.sigmaDeriv) # self.curModel.rhoDeriv @property