Skip to content

Fix (and new test) for steady state calculations with conserved cycle's changing total mass. - #1354

Merged
luciansmith merged 1 commit into
developfrom
fix-1351
Sep 3, 2026
Merged

Fix (and new test) for steady state calculations with conserved cycle's changing total mass.#1354
luciansmith merged 1 commit into
developfrom
fix-1351

Conversation

@luciansmith

Copy link
Copy Markdown

Fixes #1351. Problem was that copying current values to initial values in a copy of the model needed to copy the removed-value last, in order to make the total correct. It was instead setting them in whatever order it found them in the file, which sometimes caused collisions.

…s changing total mass.

Fixes #1351.  Problem was that copying current values to initial values in a copy of the model needed to copy the removed-value *last*, in order to make the total correct.  It was instead setting them in whatever order it found them in the file, which sometimes caused collisions.
@luciansmith
luciansmith merged commit 4a5d5d1 into develop Sep 3, 2026
9 checks passed
@luciansmith
luciansmith deleted the fix-1351 branch September 3, 2026 00:15
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.

Steady state computed incorrectly after a simulate

1 participant