Skip to content

Commit 321599d

Browse files
authored
Correct inputs in README.md
1 parent 6f65bae commit 321599d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ julia> f(x) = sin(x) - 0.1*x^2 + 1
3636
f (generic function with 1 method)
3737

3838
julia> roots(f, -10..10)
39-
4-element Array{Root{Interval{Float64}},1}:
40-
Root([3.14959, 3.1496], :unique)
41-
Root([-4.42654, -4.42653], :unique)
42-
Root([-1.08205, -1.08204], :unique)
43-
Root([-3.10682, -3.10681], :unique)
39+
4-element Vector{Root{Interval{Float64}}}:
40+
Root([-4.42654, -4.42653]_com_NG, :unique)
41+
Root([-3.10682, -3.10681]_com_NG, :unique)
42+
Root([-1.08205, -1.08204]_com_NG, :unique)
43+
Root([3.14959, 3.1496]_com_NG, :unique)
4444
```
4545

4646
The `:unique` status indicates that each listed interval contains exactly one root. The other possible status is `:unknown`, which corresponds to intervals that may contain zero, one, or more roots (no guarantee is provided for these intervals).

0 commit comments

Comments
 (0)