Skip to content

Commit d0386c4

Browse files
committed
avoid casting in transform
1 parent ea4560b commit d0386c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Multivariate/TensorSpace.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ for (plan, plan!, Typ) in ((:plan_transform, :plan_transform!, :TransformPlan),
403403

404404
function *(T::$Typ{TT,SS,false},v::AbstractVector) where {SS<:TensorSpace,TT}
405405
P = $Typ(T.space,T.plan,Val{true})
406-
P*AbstractVector{rangetype(SS)}(v)
406+
P * copy(v)
407407
end
408408
end
409409
end

0 commit comments

Comments
 (0)