-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transpose interpolation -> adjoint interpolation #3965
base: master
Are you sure you want to change the base?
Transpose interpolation -> adjoint interpolation #3965
Conversation
@@ -643,7 +653,8 @@ def _interpolate( | |||
self, | |||
*function, | |||
output=None, | |||
transpose=False, | |||
transpose=None, | |||
adjoint=False, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using an adjoint
argument unfortunately hides the adjoint
function. I've worked around this with expr_adjoint
but that doesn't seem ideal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There's the caveat that this
|
@dham what are your thoughts? |
I'm fine with this because I think what James is proposing is mathematically correct. The small number of complex users that will even notice can deal with it. |
Description
Replace transpose interpolation with adjoint interpolation, including the extra complex conjugation.
Fixes #3955