We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5297f4 commit e3a5834Copy full SHA for e3a5834
src/Space.jl
@@ -352,6 +352,7 @@ isconvertible(a,b) = a == b || hasconversion(a,b)
352
# uses an intermediate space b
353
354
coefficients(f,sp1,sp2,sp3) = coefficients(coefficients(f,sp1,sp2),sp2,sp3)
355
+coefficients!(f,sp1,sp2,sp3) = coefficients!(coefficients!(f,sp1,sp2),sp2,sp3)
356
357
coefficients(f::AbstractVector,::Type{T1},::Type{T2}) where {T1<:Space,T2<:Space} =
358
coefficients(f,T1(),T2())
@@ -484,7 +485,7 @@ _plan_itransform!!(::Val{true}) = plan_itransform!
484
485
_plan_itransform!!(::Val{false}) = plan_itransform
486
function ICanonicalTransformPlan(space, v, ip::Val{inplace} = Val(false)) where {inplace}
487
csp = checkcanonicalspace(space)
- cfs = inplace ? coefficients(v,space,csp) : v
488
+ cfs = inplace ? v : coefficients(v,space,csp)
489
ICanonicalTransformPlan(space, _plan_itransform!!(ip)(csp,cfs), csp, ip)
490
end
491
plan_itransform(sp::Space,v) = ICanonicalTransformPlan(sp, v, Val(false))
0 commit comments