Skip to content

Commit 85f8b56

Browse files
Update README.md
1 parent f4178e3 commit 85f8b56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ using NonlinearSolve, StaticArrays
2626

2727
f(u,p) = u .* u .- 2
2828
u0 = @SVector[1.0, 1.0]
29-
probN = NonlinearProblem{false}(f, u0)
29+
probN = NonlinearProblem(f, u0)
3030
solver = solve(probN, NewtonRaphson(), tol = 1e-9)
3131

3232
## Bracketing Methods
3333

3434
f(u, p) = u .* u .- 2.0
3535
u0 = (1.0, 2.0) # brackets
36-
probB = NonlinearProblem(f, u0)
36+
probB = IntervalNonlinearProblem(f, u0)
3737
sol = solve(probB, Falsi())
3838
```

0 commit comments

Comments
 (0)