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

Support sundials v7 #187

Merged
merged 5 commits into from
Dec 5, 2024
Merged

Support sundials v7 #187

merged 5 commits into from
Dec 5, 2024

Conversation

aragilar
Copy link
Collaborator

@aragilar aragilar commented Dec 5, 2024

This should close #161 and #178.

Mainly this replaces SUNDIALS v6 support with v7 support, but the new error common handling in v7 has meant that I could do some additional refactoring in the error handling and some duplicate code has been removed.

I've also done some clean up of the imports, none of the pyx files should have import * (most of the pxd files still do, and that clean up something worth doing).

SUNDIALS v7 changed all the error handling code to make it consistent.
This means we can refactor the error handling code to be in one central
location, with only minor modifications needed.
There are now some shared base classes, which should start the process
of reducing code duplication, hopefully making the code more
maintainable and ensuing fixes do not need to be made in multiple
places.
This should make it more obvious what is being imported, and unused
imports are easier to track. This should hopefully also mean we can be
more specific about what goes in the pxd files, and hopefully reduce
churn on new SUNDIALS updates.
@aragilar aragilar merged commit 82efaee into bmcage:master Dec 5, 2024
25 of 32 checks passed
@aragilar aragilar deleted the support-sundials-v7 branch December 5, 2024 12:50
@callegar
Copy link

Possibly install.rst in docs needs to be updated too for consistency.

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.

support for sundials>=6.6
2 participants