Skip to content

Commit b1da7f6

Browse files
authored
avoid casting in transform (#232)
* avoid casting in transform * version bump to v0.7.21
1 parent ea4560b commit b1da7f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ApproxFunBase"
22
uuid = "fbd15aa5-315a-5a7d-a8a4-24992e37be05"
3-
version = "0.7.20"
3+
version = "0.7.21"
44

55
[deps]
66
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"

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)