Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

union example in doc is wrong #207

Open
arnaudh opened this issue Oct 20, 2022 · 0 comments
Open

union example in doc is wrong #207

arnaudh opened this issue Oct 20, 2022 · 0 comments

Comments

@arnaudh
Copy link

arnaudh commented Oct 20, 2022

From the docs:

julia> union([1..10], [5..15])
1-element Vector{Interval{Int64, Closed, Closed}}:
 Interval{Int64, Closed, Closed}(1, 15)

However when I run this:

julia> union([1..10], [5..15])
2-element Vector{Interval{Int64, Closed, Closed}}:
 Interval{Int64, Closed, Closed}(1, 10)
 Interval{Int64, Closed, Closed}(5, 15)
  • Intervals v1.8.0
  • Julia 1.6.1
@arnaudh arnaudh changed the title Example in doc is wrong union example in doc is wrong Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant