We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95d4a54 commit 3856b82Copy full SHA for 3856b82
src/Containers/DenseAxisArray.jl
@@ -631,6 +631,10 @@ end
631
function Base.eachindex(A::DenseAxisArrayView)
632
# Return a generator so that we lazily evaluate the product instead of
633
# collecting into a vector.
634
+ #
635
+ # In future, we might want to return the appropriate matrix of
636
+ # `CartesianIndex` to avoid having to do the lookups with
637
+ # `DenseAxisArrayKey`.
638
return (DenseAxisArrayKey(k) for k in Base.product(A.axes...))
639
end
640
0 commit comments