@@ -125,12 +125,12 @@ struct TransformFactorization{T,Grid,Plan,IPlan} <: Factorization{T}
125
125
iplan:: IPlan
126
126
end
127
127
128
- TransformFactorization (grid, plan) =
129
- TransformFactorization {promote_type(eltype(grid), eltype(plan )),typeof(grid),typeof( plan),Nothing } (grid, plan, nothing )
128
+ TransformFactorization {T} (grid, plan) where T = TransformFactorization {T,typeof(grid),typeof(plan),Nothing} (grid, plan, nothing )
129
+ TransformFactorization (grid, plan) = TransformFactorization {promote_type(eltype(eltype(grid )),eltype( plan)) } (grid, plan)
130
130
131
131
132
- TransformFactorization (grid, :: Nothing , iplan) =
133
- TransformFactorization {promote_type(eltype(grid), eltype(iplan )),typeof(grid),Nothing,typeof( iplan)} (grid, nothing , iplan)
132
+ TransformFactorization {T} (grid, :: Nothing , iplan) where T = TransformFactorization {T,typeof(grid),Nothing,typeof(iplan)} (grid, nothing , iplan)
133
+ TransformFactorization (grid, :: Nothing , iplan) = TransformFactorization {promote_type(eltype(eltype(grid )),eltype( iplan) )} (grid, nothing , iplan)
134
134
135
135
grid (T:: TransformFactorization ) = T. grid
136
136
0 commit comments