RecursiveArrayTools.jl icon indicating copy to clipboard operation
RecursiveArrayTools.jl copied to clipboard

Support for OffsetArrays

Open piever opened this issue 7 years ago • 1 comments

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).

piever avatar Mar 19 '18 15:03 piever

replace many uses of size with indices

That's probably all we need to do.

ChrisRackauckas avatar Mar 19 '18 16:03 ChrisRackauckas