Skip to content

Commit cfdc2a8

Browse files
committed
Added new to_indices function for nightly
1 parent 9663d1a commit cfdc2a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/set_get.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ getaxes(x) = ()
99
# the correct methods
1010
Base.to_indices(x::ComponentArray, i::Tuple) = i
1111
Base.to_indices(x::ComponentArray, i::Tuple{Vararg{Union{Integer, CartesianIndex}, N}}) where N = i
12+
Base.to_indices(x::ComponentArray, i::Tuple{Vararg{Int64}}) where N = i
1213
Base.to_index(x::ComponentArray, i) = i
1314

1415
# Get AbstractAxis index

0 commit comments

Comments
 (0)