SciML / SciML/RecursiveArrayTools.jl

Support for OffsetArrays

Open
#28 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.