From 4b46e91e9299d9f13b1c63b4cf3a37ccee605946 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Mon, 24 Nov 2025 20:47:47 -0500 Subject: [PATCH] README.md: Improve variable name in example I believe `solve` returns a solution, not a solver, hence the variable should be called `sol` as in the second example. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 344c6d9a2..7c057996b 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ using NonlinearSolve, StaticArrays f(u, p) = u .* u .- 2 u0 = @SVector[1.0, 1.0] prob = NonlinearProblem(f, u0) -solver = solve(prob) +sol = solve(prob) ## Bracketing Methods