Commit c66fb74
Fix simulation of stateless models by supplying explicit saveat
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 c66fb74
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