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

Issue #910: Fix jacobians #912

Merged
merged 3 commits into from
Nov 10, 2021
Merged

Issue #910: Fix jacobians #912

merged 3 commits into from
Nov 10, 2021

Conversation

luciansmith
Copy link

No description provided.

The problem was that in order to set conserved moiety values, the initial values of the species were being used as a sort of 'scratch pad' to calculate the unscaled species elasticities.  Unfortunately, this relied on the compartment volumes not having changed since their initial values.

The solution was simple:  at the same time we overwrite and later restore the initial species values, we overwrite and later restore the initial compartment volumes.
@luciansmith luciansmith merged commit 000f05b into develop Nov 10, 2021
@luciansmith luciansmith deleted the issue-910-fix-jacobians branch November 10, 2021 21: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.

None yet

1 participant