Commit ec7f37d
Fix simulation of stateless models by supplying explicit saveat (#32)
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>1 parent 05dd15d commit ec7f37d
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
43 | 50 | | |
44 | 51 | | |
45 | 52 | | |
| |||
0 commit comments