Skip to content

Commit

Permalink
Merge pull request #3250 from SciML/ChrisRackauckas-patch-8
Browse files Browse the repository at this point in the history
Fix initialization_eqs example
  • Loading branch information
ChrisRackauckas authored Dec 1, 2024
2 parents e8a9f04 + 12b02c0 commit e9fe9a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/tutorials/initialization.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ the `initialization_eqs` keyword argument, for example:

```@example init
prob = ODEProblem(pend, [x => 1], (0.0, 1.5), [g => 1], guesses = [λ => 0, y => 1],
initialization_eqs = [y ~ 1])
initialization_eqs = [y ~ 0])
sol = solve(prob, Rodas5P())
plot(sol, idxs = (x, y))
```
Expand Down

0 comments on commit e9fe9a1

Please sign in to comment.