Skip to content

Commit 0c48ac8

Browse files
authored
Update DAE Problems documentation
Fixes `importdaeproblems not defined` error. `DAEProblemLibrary` does not export this function. Made the doc more self-sustained by adding `using Sundials`.
1 parent 6d194f7 commit 0c48ac8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

docs/src/types/dae_types.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ Examples problems can be found in [DiffEqProblemLibrary.jl](https://github.com/S
1818
To use a sample problem, such as `prob_dae_resrob`, you can do something like:
1919

2020
```julia
21-
#] add DiffEqProblemLibrary
22-
using DiffEqProblemLibrary.DAEProblemLibrary
23-
# load problems
24-
DAEProblemLibrary.importdaeproblems()
21+
using DiffEqProblemLibrary.DAEProblemLibrary, Sundials
2522
prob = DAEProblemLibrary.prob_dae_resrob
2623
sol = solve(prob,IDA())
2724
```

0 commit comments

Comments
 (0)