Skip to content

Commit eb9f161

Browse files
committed
Add back ChebyshevToLegendrePlan{S}(::Type{S},n) constructor to maintain compatibility with tagged ApproxFun
1 parent 65c3968 commit eb9f161

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/toeplitzhankel.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ immutable ChebyshevToLegendrePlan{TH}
160160
toeplitzhankel::TH
161161
end
162162

163+
ChebyshevToLegendrePlan{S}(::Type{S},n) = ChebyshevToLegendrePlan(th_cheb2legplan(S,n))
164+
163165
function *(P::ChebyshevToLegendrePlan,v::AbstractVector)
164166
w = zero(v)
165167
S,n = eltype(v),length(v)

0 commit comments

Comments
 (0)