diff --git a/docs/src/tutorials/nonlinear.md b/docs/src/tutorials/nonlinear.md index baaf7c9a2..0d59cfc39 100644 --- a/docs/src/tutorials/nonlinear.md +++ b/docs/src/tutorials/nonlinear.md @@ -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