You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's possible to extract the components using unwrap and accessing the underlying SVector storage directly
x =StructArray([SVector(1., 2,) for i in1:5], unwrap = t -> t <:Tuple)
StructArrays.components(x.data) # returns a tuple containing a vector of 1's and a vector of 2's
but this creates a nested StructArray with type
StructArray(StructArray(::Vector{Float64}, ::Vector{Float64})) with eltype SVector{2, Float64}
Because of the nested StructArray types, both operation and function broadcasting break again.