1010# Conversions
1111# ####
1212
13- function BandedMatrix (S:: SubOperator {T,ConcreteConversion{Chebyshev{DD,RR},Ultraspherical{Int,DD,RR},T},
14- NTuple{2 ,UnitRange{Int}}}) where {T,DD,RR}
13+ function BandedMatrix (S:: SubOperator {T,ConcreteConversion{Chebyshev{DD,RR},
14+ Ultraspherical{LT,DD,RR},T},
15+ NTuple{2 ,UnitRange{Int}}}) where {T,LT<: Union{Integer, StaticInt} ,DD,RR}
1516 # we can assume order is 1
1617 ret = BandedMatrix {eltype(S)} (undef, size (S), bandwidths (S))
1718 kr,jr = parentindices (S)
@@ -31,8 +32,8 @@ function BandedMatrix(S::SubOperator{T,ConcreteConversion{Chebyshev{DD,RR},Ultra
3132 ret
3233end
3334
34- function BandedMatrix (V:: SubOperator {T,ConcreteConversion{Ultraspherical{LT ,DD,RR},Ultraspherical{LT ,DD,RR},T},
35- NTuple{2 ,UnitRange{Int}}}) where {T,LT ,DD,RR}
35+ function BandedMatrix (V:: SubOperator {T,ConcreteConversion{Ultraspherical{LT1 ,DD,RR},Ultraspherical{LT2 ,DD,RR},T},
36+ NTuple{2 ,UnitRange{Int}}}) where {T,LT1,LT2 ,DD,RR}
3637
3738 n,m = size (V)
3839 V_l, V_u = bandwidths (V)
0 commit comments