From 03413d0312c0561687117ec784276beb397da6c3 Mon Sep 17 00:00:00 2001 From: Jaakko Ruohio Date: Thu, 20 Jul 2023 11:07:19 +0300 Subject: [PATCH] Fix typo solver -> sol --- docs/src/tutorials/nonlinear.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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