SciML / SciML/RecursiveArrayTools.jl
enumerate with VectorOfArray
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 233
- Forks
- 76
- Avg merge
- 2h 17m
- Merged PRs (30d)
- 9
Description
Enumerating the following MWE gives an unexpected result:
[(i,x) for (i,x) in enumerate(VectorOfArray([[1,2,3]]))]

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Julia MWE in the issue using VectorOfArray and enumerate, then inspect the relevant VectorOfArray enumeration behavior. The issue is resolved when enumeration produces the intended index/value pairs for this example and the behavior is covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100