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
Fix stack(; dims) on containers with HasLength eltype & HasShape elements (#56777)
Fixes#56771
While fixing this I saw #56776, will comment there on differences.
I think the reason this line existed was probably to handle `Tuple`, for
which `Base.IteratorSize(Tuple) == Base.HasLength()` although they
behave like `HasShape{1}`. I'd like to check a little more for
unintended consequences, hence mark this draft for now.
Co-authored-by: Andy Dienes <[email protected]>
0 commit comments