Skip to content

Commit 9636b55

Browse files
authored
Explicitly use th_cheb2leg to support large dimensions (#126)
1 parent 740a721 commit 9636b55

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ClassicalOrthogonalPolynomials.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import ContinuumArrays: Basis, Weight, basis, @simplify, Identity, AbstractAffin
4040
checkpoints, weight, unweighted, MappedBasisLayouts, __sum, invmap, plan_ldiv, layout_broadcasted, MappedBasisLayout, SubBasisLayout, _broadcastbasis,
4141
plan_transform, plan_grid_transform, MAX_PLOT_POINTS, MulPlan
4242
import FastTransforms: Λ, forwardrecurrence, forwardrecurrence!, _forwardrecurrence!, clenshaw, clenshaw!,
43-
_forwardrecurrence_next, _clenshaw_next, check_clenshaw_recurrences, ChebyshevGrid, chebyshevpoints, Plan, ScaledPlan
43+
_forwardrecurrence_next, _clenshaw_next, check_clenshaw_recurrences, ChebyshevGrid, chebyshevpoints, Plan, ScaledPlan, th_cheb2leg
4444

4545
import FastGaussQuadrature: jacobimoment
4646

src/classical/legendre.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ ldiv(P::Legendre{V}, f::AbstractQuasiFill{T,1}) where {T,V} = _op_ldiv(P, f)
8282
function transform_ldiv(::Legendre{V}, f::Union{AbstractQuasiVector,AbstractQuasiMatrix}) where V
8383
T = ChebyshevT{V}()
8484
dat = T \ f
85-
pad(cheb2leg(paddeddata(dat)), axes(dat)...)
85+
pad(th_cheb2leg(paddeddata(dat)), axes(dat)...)
8686
end
8787

8888
struct LegendreTransformPlan{T, CHEB2LEG, DCT} <: Plan{T}

0 commit comments

Comments
 (0)