From cb23e64dae2c777ab1a86da00ce73c922972ae11 Mon Sep 17 00:00:00 2001 From: Ryan <25192197+singularitti@users.noreply.github.com> Date: Mon, 30 Jan 2023 09:57:02 -0500 Subject: [PATCH] Fix `show` for type `Interval` (#460) --- src/contrib.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contrib.jl b/src/contrib.jl index e90be456..43426a21 100644 --- a/src/contrib.jl +++ b/src/contrib.jl @@ -182,7 +182,7 @@ Base.broadcastable(I::Interval) = Ref(I) function Base.show(io::IO, I::Interval{T,L,R}) where {T,L,R} l,r = extrema(I) print(io, L == Closed ? "[" : "(") - print(io, l, ", ", r) + print(io, l, "..", r) print(io, R == Closed ? "]" : ")") end