Skip to content

Gillespie 1318 timedep#1329

Merged
luciansmith merged 2 commits into
sys-bio:issue-1318-time-dep-gillespiefrom
wshlavacek:gillespie-1318-timedep
Jun 9, 2026
Merged

Gillespie 1318 timedep#1329
luciansmith merged 2 commits into
sys-bio:issue-1318-time-dep-gillespiefrom
wshlavacek:gillespie-1318-timedep

Conversation

@luciansmith

Copy link
Copy Markdown

No description provided.

…rules

The timeDependentRates comment claimed the fix handles time entering
through a rate rule. It does not: Gillespie freezes the state vector
between reaction events and never integrates a rate-rule variable, so
setTime() alone does not advance it and it is neither detected nor
tracked by the propensity integral. Drop the rate-rule claim and state
the limitation explicitly. Comment-only; no behavior change.
Same fix as the header comment, in the duplicate that sat in the .cpp.
A rate-rule variable is part of the frozen state, so it does not vary
across the detection probes; time dependence entering through a rate
rule is not detected (and not handled) here. Comment-only.
@luciansmith luciansmith merged commit a681d8a into sys-bio:issue-1318-time-dep-gillespie Jun 9, 2026
18 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