From eac73831bdeb42c0cdb1b69635970c9fc6bb2e4d Mon Sep 17 00:00:00 2001 From: rpestourie Date: Sun, 16 Aug 2020 19:29:33 -0400 Subject: [PATCH] Update FastChebInterp.jl --- src/FastChebInterp.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FastChebInterp.jl b/src/FastChebInterp.jl index 24b043d..845147c 100644 --- a/src/FastChebInterp.jl +++ b/src/FastChebInterp.jl @@ -44,7 +44,7 @@ function Base.show(io::IO, c::ChebPoly) print(io, "Chebyshev order ", map(i->i-1,size(c.coefs)), " interpolator on ", '[', c.lb[1], ',', c.ub[1], ']') for i = 2:length(c.lb) - print(io, " × [", c.lb[1], ',', c.ub[1], ']') + print(io, " × [", c.lb[i], ',', c.ub[i], ']') end end Base.ndims(c::ChebPoly) = ndims(c.coefs)