Skip to content

1D+ sensitivities error with IDAKLU output_variables #5118

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 2 commits into
base: develop
Choose a base branch
from

Conversation

pipliggins
Copy link
Contributor

Description

When using output_variables, sensitivity calculations were incorrect for 1D+ variables, and all variables which followed them in the output_variables list. This is a bug in the C++ code stored in pybammsolvers so a seperate PR will be made there, this one just adds tests to pybamm that catch the bug and should pass once the solvers package is fixed and updated.

Fixes #5058

Type of change

Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #)

@pipliggins
Copy link
Contributor Author

pipliggins commented Jul 16, 2025

Requires: pybamm-team/pybammsolvers#52

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.

[Bug]: Different sensitivities when calculated with/without output variables
1 participant