Open
Description
For many applications one-dimensional vectors that are oriented in a certain direction are essential.
However, when such vectors are wrapped in a ComponentArray
, some mechanism seems to squeeze them when stored as a vector of vectors, such that they are now oriented along the first direction. This makes ComponentArray.jl unsuitable for broadcasting operations on its stored vectors.
julia> a= reshape([1,2,3],(1,3)); b=[a,a]; q = ComponentVector(;q = [1,2], qq=b, ww=[1 2;3 4]); size(q.qq[1])
(3,)
julia> size(b[1])
(1, 3)
Metadata
Assignees
Labels
No labels
Activity