Skip to content

For illustration only: add more const-ness and access control #647

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

Draft
wants to merge 13 commits into
base: add_adjoint
Choose a base branch
from

Conversation

mreineck
Copy link
Collaborator

This PR only exists to illustrate the changes that would be necessary to make the C interface and the internal Finufft core interface const-correct, i.e. input arguments that are only read will have a const qualifier.
I made tese changes on top of the add_adjoint branch, so I'm opening the PR against this branch, which makes the changes easier to read.
Once the add_adjoint branch is merged, I'm happy to create a "real" PR for this.

@mreineck
Copy link
Collaborator Author

This PR also demonstrates an inconvenience of having tight access control. guru_timing_test wants to inspect the innner workings of the plan objects, but it is no longer allowed to do so. This test would need a significant rewrite.

@ahbarnett ahbarnett mentioned this pull request Apr 30, 2025
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant