Skip to content

Commit

Permalink
Update the docs to work with MTK v9 and add compat
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanaelbosch committed Feb 26, 2024
1 parent 4654669 commit 4b34dec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
ProbNumDiffEq = "bf3e78b0-7d74-48a5-b855-9609533b56a5"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"

[compat]
ModelingToolkit = "9"
2 changes: 1 addition & 1 deletion docs/src/tutorials/dae.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ simplified_sys = structural_simplify(dae_index_lowering(traced_sys))

Let's build two different ODE problems, and check how well we can solve each:
```@example dae
prob_index3 = ODEProblem(traced_sys, Pair[], tspan)
prob_index3 = ODEProblem(complete(traced_sys), Pair[], tspan)
prob_index1 = ODEProblem(simplified_sys, Pair[], tspan)
sol3 = solve(prob_index3, EK1())
Expand Down

0 comments on commit 4b34dec

Please sign in to comment.