Skip to content

Commit f7182db

Browse files
Merge pull request #134 from SciML/ranocha-patch-1
fix docstring of ITP
2 parents 81ba5b9 + ec757e3 commit f7182db

File tree

1 file changed

+3
-3
lines changed
  • lib/SimpleNonlinearSolve/src/bracketing

1 file changed

+3
-3
lines changed

lib/SimpleNonlinearSolve/src/bracketing/itp.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ I. F. D. Oliveira and R. H. C. Takahashi.
1414
1515
The following keyword parameters are accepted.
1616
17-
- `n₀::Int = 1`, the 'slack'. Must not be negative. When n₀ = 0 the worst-case is
17+
- `n₀::Int = 10`, the 'slack'. Must not be negative. When n₀ = 0 the worst-case is
1818
identical to that of bisection, but increacing n₀ provides greater oppotunity for
1919
superlinearity.
20-
- `κ₁::Float64 = 0.1`. Must not be negative. The recomended value is `0.2/(x₂ - x₁)`.
20+
- `κ₁::Float64 = 0.007`. Must not be negative. The recomended value is `0.2/(x₂ - x₁)`.
2121
Lower values produce tighter asymptotic behaviour, while higher values improve the
2222
steady-state behaviour when truncation is not helpful.
23-
- `κ₂::Real = 2`. Must lie in [1, 1+ϕ ≈ 2.62). Higher values allow for a greater
23+
- `κ₂::Real = 1.5`. Must lie in [1, 1+ϕ ≈ 2.62). Higher values allow for a greater
2424
convergence rate, but also make the method more succeptable to worst-case performance.
2525
In practice, κ=1,2 seems to work well due to the computational simplicity, as κ₂ is used
2626
as an exponent in the method.

0 commit comments

Comments
 (0)