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

Incorrect loop detected for initial values #42

Open
luciansmith opened this issue Jun 30, 2016 · 0 comments
Open

Incorrect loop detected for initial values #42

luciansmith opened this issue Jun 30, 2016 · 0 comments

Comments

@luciansmith
Copy link
Contributor

The following model thinks that S1 depends on c, which depends on S1, but this isn't the case--S1 is being set using an idiom that means 'use initial amount'.

// Created by libAntimony v2.8.0
model *case01223()

// Compartments and Species:
compartment c;
substanceOnly species $S1 in c;

// Rate Rules:
S1' = 1;

c := S1+1

// Species initializations:
S1 = 1.2/c;

// Other declarations:
var c;
end

Reported by: luciansmith

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant