Skip to content

Commit 25fbd71

Browse files
Merge pull request #196 from jaakkor2/patch-1
Fix typo solver -> sol
2 parents 691e10a + 03413d0 commit 25fbd71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/tutorials/nonlinear.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ f(u, p) = u .* u .- p
1111
u0 = @SVector[1.0, 1.0]
1212
p = 2.0
1313
probN = NonlinearProblem(f, u0, p)
14-
solver = solve(probN, NewtonRaphson(), reltol = 1e-9)
14+
sol = solve(probN, NewtonRaphson(), reltol = 1e-9)
1515
```
1616

1717
where `u0` is the initial condition for the rootfinder. Native NonlinearSolve.jl

0 commit comments

Comments
 (0)