Skip to content

Commit e9fe9a1

Browse files
Merge pull request #3250 from SciML/ChrisRackauckas-patch-8
Fix initialization_eqs example
2 parents e8a9f04 + 12b02c0 commit e9fe9a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/tutorials/initialization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ the `initialization_eqs` keyword argument, for example:
113113

114114
```@example init
115115
prob = ODEProblem(pend, [x => 1], (0.0, 1.5), [g => 1], guesses = [λ => 0, y => 1],
116-
initialization_eqs = [y ~ 1])
116+
initialization_eqs = [y ~ 0])
117117
sol = solve(prob, Rodas5P())
118118
plot(sol, idxs = (x, y))
119119
```

0 commit comments

Comments
 (0)