Commit 8f8dd7a
Fix deprecated ODEProblem API calls in documentation
Updated documentation to use the new ODEProblem API that was introduced
to replace the deprecated 4-argument signature. Changes include:
- Changed ODEProblem(sys, u0, tspan, p) to ODEProblem(sys, [u0; p], tspan)
- Changed ODEProblem(sys, [], tspan, []) to ODEProblem(sys, [], tspan)
This fixes the deprecation warnings in the "Copy-Pastable Simplified Example"
and other tutorial sections.
Files modified:
- docs/src/tutorials/ode_modeling.md: Line 39
- docs/src/tutorials/programmatically_generating.md: Line 52
- docs/src/basics/Events.md: Lines 421, 442
- docs/src/basics/Composition.md: Line 60
Fixes #3996
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent caedda6 commit 8f8dd7a
File tree
4 files changed
+5
-5
lines changed- docs/src
- basics
- tutorials
4 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
421 | | - | |
| 421 | + | |
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
| 442 | + | |
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments