mirror of
https://github.com/wassname/simpeg.git
synced 2026-07-16 11:21:38 +08:00
don't use adjoint when not asking for the adjoint!
This commit is contained in:
@@ -627,6 +627,6 @@ class PrimSecSigma(BaseSrc):
|
||||
def s_eDeriv(self, prob, v, adjoint=False):
|
||||
if adjoint:
|
||||
return prob.MeSigmaDeriv(self.ePrimary(prob)).T * v
|
||||
return prob.MeSigmaDeriv(self.ePrimary(prob)).T * v
|
||||
return prob.MeSigmaDeriv(self.ePrimary(prob)) * v
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user