Skip to content

Commit 36eef0b

Browse files
vyuduisaacsas
andauthored
Update docs/src/model_simulation/ode_simulation_performance.md
Co-authored-by: Sam Isaacson <[email protected]>
1 parent 999d34e commit 36eef0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/model_simulation/ode_simulation_performance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ end
190190
u0 = [:X₁ => 2.0, :X₂ => 3.0]
191191
ps = [:k₁ => 1.0, :k₂ => 2.0]
192192
oprob = ODEProblem(rs, u0, (0.0, 10.0), ps; remove_conserved = true)
193-
sol = solve(oprob, Tsit5())
193+
sol = solve(oprob)
194194
nothing # hide
195195
```
196196
Conservation law elimination is not expected to ever impact performance negatively; it simply results in a (possibly) lower-dimensional system of ODEs to solve. However, eliminating conserved species may have minimal performance benefits; it is model-dependent whether elimination results in faster ODE solving times and/or increased solution accuracy.

0 commit comments

Comments
 (0)