Skip to content

Commit

Permalink
Merge pull request #196 from jaakkor2/patch-1
Browse files Browse the repository at this point in the history
Fix typo solver -> sol
  • Loading branch information
ChrisRackauckas authored Jul 20, 2023
2 parents 691e10a + 03413d0 commit 25fbd71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/tutorials/nonlinear.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ f(u, p) = u .* u .- p
u0 = @SVector[1.0, 1.0]
p = 2.0
probN = NonlinearProblem(f, u0, p)
solver = solve(probN, NewtonRaphson(), reltol = 1e-9)
sol = solve(probN, NewtonRaphson(), reltol = 1e-9)
```

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

0 comments on commit 25fbd71

Please sign in to comment.