Skip to content

Commit defd9e6

Browse files
Merge pull request #3881 from asinghvi17/patch-3
fix deprecated ODEProblem syntax in Debugging.md
2 parents 5231f0a + 55daac3 commit defd9e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/basics/Debugging.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ sys = mtkcompile(sys)
1919
This problem causes the ODE solver to crash:
2020

2121
```@repl debug
22-
prob = ODEProblem(sys, [], (0.0, 10.0), []);
22+
prob = ODEProblem(sys, [], (0.0, 10.0));
2323
sol = solve(prob, Tsit5());
2424
```
2525

@@ -28,7 +28,7 @@ In such situations, the `debug_system` function is helpful:
2828

2929
```@repl debug
3030
dsys = debug_system(sys; functions = [sqrt]);
31-
dprob = ODEProblem(dsys, [], (0.0, 10.0), []);
31+
dprob = ODEProblem(dsys, [], (0.0, 10.0));
3232
dsol = solve(dprob, Tsit5());
3333
```
3434

0 commit comments

Comments
 (0)