use sigma in MfRhoDeriv - due to propmap bug

This commit is contained in:
Lindsey Heagy
2016-05-04 22:06:32 -07:00
parent dd45a6a085
commit dbdcc3cefb
+1 -2
View File
@@ -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