@@ -119,18 +119,21 @@ _grid(::SubBasisLayout, P) = grid(parent(P))
119119_grid (:: WeightedBasisLayouts , P) = grid (unweightedbasis (P))
120120grid (P) = _grid (MemoryLayout (typeof (P)), P)
121121
122+ # TODO : Move over from OrthogonalPolynomialsQuasi
123+ function checkpoints end
124+
122125struct TransformFactorization{T,Grid,Plan,IPlan} <: Factorization{T}
123126 grid:: Grid
124127 plan:: Plan
125128 iplan:: IPlan
126129end
127130
128- TransformFactorization (grid, plan) =
129- TransformFactorization {promote_type(eltype(grid), eltype(plan )),typeof(grid),typeof( plan),Nothing } (grid, plan, nothing )
131+ TransformFactorization {T} (grid, plan) where T = TransformFactorization {T,typeof(grid),typeof(plan),Nothing} (grid, plan, nothing )
132+ TransformFactorization (grid, plan) = TransformFactorization {promote_type(eltype(eltype(grid )),eltype( plan)) } (grid, plan)
130133
131134
132- TransformFactorization (grid, :: Nothing , iplan) =
133- TransformFactorization {promote_type(eltype(grid), eltype(iplan )),typeof(grid),Nothing,typeof( iplan)} (grid, nothing , iplan)
135+ TransformFactorization {T} (grid, :: Nothing , iplan) where T = TransformFactorization {T,typeof(grid),Nothing,typeof(iplan)} (grid, nothing , iplan)
136+ TransformFactorization (grid, :: Nothing , iplan) = TransformFactorization {promote_type(eltype(eltype(grid )),eltype( iplan) )} (grid, nothing , iplan)
134137
135138grid (T:: TransformFactorization ) = T. grid
136139
0 commit comments