Skip to content

Commit cb23e64

Browse files
authored
Fix show for type Interval (#460)
1 parent cf9301d commit cb23e64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/contrib.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ Base.broadcastable(I::Interval) = Ref(I)
182182
function Base.show(io::IO, I::Interval{T,L,R}) where {T,L,R}
183183
l,r = extrema(I)
184184
print(io, L == Closed ? "[" : "(")
185-
print(io, l, ", ", r)
185+
print(io, l, "..", r)
186186
print(io, R == Closed ? "]" : ")")
187187
end
188188

0 commit comments

Comments
 (0)