Skip to content
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

fix: bug in local field projection for far_field_approx=True #2048

Merged
merged 2 commits into from
Nov 1, 2024

Conversation

yaugenst-flex
Copy link
Collaborator

Fixes a bug in the local field projection that was introduced in #1822. The bug occurred because autograd-compatible indexing of J and M was incorrect and a bit more involved than I thought...

The good news is that this PR also introduces autograd support for the kspace field projection.

@yaugenst-flex yaugenst-flex self-assigned this Oct 31, 2024
@yaugenst-flex yaugenst-flex added the Bug something isnt working label Oct 31, 2024
Copy link
Collaborator

@momchil-flex momchil-flex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed fix with backend tests.

@momchil-flex momchil-flex merged commit 164b4b8 into develop Nov 1, 2024
15 checks passed
@momchil-flex momchil-flex deleted the yaugenst-flex/fix-field-projection branch November 1, 2024 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug something isnt working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants