mirror of
https://github.com/wassname/simpeg.git
synced 2026-10-07 11:31:20 +08:00
adjoint for PrimSec Src
This commit is contained in:
1 parent
8664a98e09
commit
436bc7af95
1 file changed
+2
-2
@@ -333,8 +333,8 @@ class PrimSecSigma(BaseSrc):
|
||||
|
||||
def S_eDeriv(self, prob, v, adjoint = False):
|
||||
MeSigmaDeriv = prob.MeSigmaDeriv
|
||||
if not adjoint:
|
||||
if adjoint is not True:
|
||||
return MeSigmaDeriv(Utils.mkvc(self._ePrimary)) * v # TODO: This is really sloppy and will not work if more than one freq
|
||||
return MeSigmaDeriv(Utils.mkvc(self._ePrimary)).T * v
|
||||
return MeSigmaDeriv(Utils.mkvc(self._ePrimary)) * v
|
||||
|
||||
|
||||
Reference in new issue
Block a user