SciML / SciML/RecursiveArrayTools.jl
Support for OffsetArrays
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 233
- Forks
- 76
- Avg merge
- 2h 17m
- Merged PRs (30d)
- 9
Description
Currently this gives:
julia> using OffsetArrays
julia> VectorOfArray([OffsetArray(rand(2), 0:1)])
ERROR: size not supported for arrays with axes (0:1,); see http://docs.julialang.org/en/latest/devdocs/offset-arrays/
but in principle I guess it could work (maybe Compat.axes should be used instead).
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 example with OffsetArrays and VectorOfArray, then inspect the VectorOfArray handling that rejects axes (0:1,). The work is done when the shown OffsetArray input is accepted without the size-not-supported error and existing behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100