Skip to content

Commit

Permalink
fix error message output in README
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrodium committed Oct 20, 2023
1 parent 0a9ccd9 commit aa0ed18
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,12 @@ false
When computing the union, the result must also be an interval:
```julia
julia> (0.25..5) (6..7.4)
------ ArgumentError ------------------- Stacktrace (most recent call last)

[1] — union(::IntervalSets.ClosedInterval{Float64}, ::IntervalSets.ClosedInterval{Float64}) at closed.jl:34

ArgumentError: Cannot construct union of disjoint sets.
ERROR: ArgumentError: Cannot construct union of disjoint sets.
Stacktrace:
[1] union(d1::ClosedInterval{Float64}, d2::ClosedInterval{Float64})
@ IntervalSets ~/.julia/dev/IntervalSets/src/interval.jl:127
[2] top-level scope
@ REPL[2]:1
```

### Importing the .. operator
Expand Down

0 comments on commit aa0ed18

Please sign in to comment.