Skip to content

Fix simulation of stateless models by supplying explicit saveat#32

Merged
AnHeuermann merged 1 commit intomainfrom
sim-no-states
Mar 19, 2026
Merged

Fix simulation of stateless models by supplying explicit saveat#32
AnHeuermann merged 1 commit intomainfrom
sim-no-states

Conversation

@AnHeuermann
Copy link
Member

Changes

For models with no ODE unknowns the adaptive solver takes no internal steps, leaving sol.t empty and making observed-variable evaluation impossible. When the system has no unknowns, fall back to 500 evenly spaced save points across the experiment time span so that observed variables can be interpolated normally.

For models with no ODE unknowns the adaptive solver takes no internal
steps, leaving sol.t empty and making observed-variable evaluation
impossible. When the system has no unknowns, fall back to 500 evenly
spaced save points across the experiment time span so that observed
variables can be interpolated normally.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
@AnHeuermann AnHeuermann self-assigned this Mar 19, 2026
@AnHeuermann AnHeuermann enabled auto-merge (squash) March 19, 2026 10:53
@AnHeuermann AnHeuermann merged commit ec7f37d into main Mar 19, 2026
3 checks passed
@AnHeuermann AnHeuermann deleted the sim-no-states branch March 19, 2026 11:16
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.

1 participant