Skip to content

fix primordial_chem actual_rhs signature to take const burn_t&#1986

Merged
zingale merged 2 commits into
AMReX-Astro:developmentfrom
BenWibking:fix-primordial-rhs-const
May 27, 2026
Merged

fix primordial_chem actual_rhs signature to take const burn_t&#1986
zingale merged 2 commits into
AMReX-Astro:developmentfrom
BenWibking:fix-primordial-rhs-const

Conversation

@BenWibking

Copy link
Copy Markdown
Collaborator

Changes function signature to use const burn_t instead of burn_t so it works with BackwardEuler.

BenWibking and others added 2 commits April 27, 2026 17:06
The actual_rhs function in the primordial_chem network took a mutable
burn_t& state parameter, but the function does not modify state. This
is incompatible with numerical_jac which passes const burn_t&. Change
the signature to const burn_t& for consistency with other networks.
@zingale zingale merged commit 4d4c28e into AMReX-Astro:development May 27, 2026
33 of 34 checks passed
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.

2 participants