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
However, a struct array of static arrays can only retrieve components by index:
julia> a =StructArray([v])
1-element StructArray(::Vector{Int64}, ::Vector{Int64}) with eltype SVector{2, Int64}:
[1, 2]
julia> a.:11-element Vector{Int64}:1
julia> a.x
ERROR: type Tuple has no field x
Can both be supported? I understand this isn't straightforward, but would be useful.
The text was updated successfully, but these errors were encountered:
Static arrays support accessing by index or by property name:
However, a struct array of static arrays can only retrieve components by index:
Can both be supported? I understand this isn't straightforward, but would be useful.
The text was updated successfully, but these errors were encountered: