mirror of
https://github.com/wassname/simpeg.git
synced 2026-06-30 02:22:38 +08:00
Brackets to make sure we are doing matrix vector products
This commit is contained in:
+1
-1
@@ -130,7 +130,7 @@ class BaseEMProblem(Problem.BaseProblem):
|
||||
|
||||
# TODO: This should take a vector
|
||||
def MfRhoDeriv(self,u):
|
||||
return self.mesh.getFaceInnerProductDeriv(self.curModel.rho)(u) * -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
|
||||
|
||||
Reference in New Issue
Block a user