You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Okay, so I suppose it's a bit bigger than that. Julia Base's issue is assuming that a transposed array will always have a 1-indexed first dimension. And it's true that OffsetArrays assumes that all nonspecified dimensions have the range 1:1.
I suppose my suggestion is that all unspecified dimensions should have a 0:0 range. But that would probably be considered breaking. So I'm open to other thoughts.
At a minimum, it would be nice if centered could produce an object that was centered along all dimensions. Its docstring does suggest that is the intended outcome.
Just opening this to track the underlying Julia issue: JuliaLang/LinearAlgebra.jl#1042
The text was updated successfully, but these errors were encountered: