-
-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
I'd like to be able to use ComponentArrays with some fields containing empty data arrays. For example,
ComponentVector(a=Int[], b=1) and ComponentVector(a=[Int[]], b=1) both work fine. However,
ComponentVector(a=[(a1=Int[],)], b=1)
fails due to a zero step-size in a range used in the partition function in utils.jl
Is there a simple fix?
Metadata
Metadata
Assignees
Labels
No labels