-
-
Notifications
You must be signed in to change notification settings - Fork 39
Closed
Description
Hashing ComponentArrays (v0.9.3) doesn't seem to be implemented and the generic fallback (tested on 1.6) doesn't work. An unfortunately side-effect of this is that ComponentArrays don't work with certain remote constructs (here because auto global-shipping relies on the hash):
julia> using ComponentArrays, Distributed
julia> addprocs(1);
julia> x = ComponentArray(a=[1,2], b=[3]);
julia> @fetch x
ERROR: MethodError: no method matching LinearIndices(::Tuple{Symbol, Symbol})
Closest candidates are:
LinearIndices(::Tuple{}) at indices.jl:454
LinearIndices(::R) where {N, R<:Tuple{Vararg{AbstractUnitRange{Int64}, N}}} at indices.jl:451
LinearIndices(::Tuple{Vararg{AbstractUnitRange{var"#s79"} where var"#s79"<:Integer, N}}) where N at indices.jl:455
...
Stacktrace:
[1] hash(A::ComponentVector{Int64}, h::UInt64)
...Metadata
Metadata
Assignees
Labels
No labels