Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit f7ba49b

Browse files
authored
Fix error in README example
Used keyword tol
1 parent 1600f7c commit f7ba49b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ using SimpleNonlinearSolve, StaticArrays
2828
f(u,p) = u .* u .- 2
2929
u0 = @SVector[1.0, 1.0]
3030
probN = NonlinearProblem{false}(f, u0)
31-
solver = solve(probN, SimpleNewtonRaphson(), tol = 1e-9)
31+
solver = solve(probN, SimpleNewtonRaphson(), abstol = 1e-9)
3232

3333
## Bracketing Methods
3434

0 commit comments

Comments
 (0)