Skip to content

Commit e4c3a3f

Browse files
committed
fix test
1 parent 04b39ae commit e4c3a3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/abstractarray.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1580,7 +1580,7 @@ end
15801580
end
15811581
@eval Base.size(A::$S) = size(A.x)
15821582
@eval Base.axes(A::$S) = axes(A.x)
1583-
@eval Base.getindex(A::$S{<:Any,N}, i::Vararg{Int,N}) where {N} = getindex(A.x, i...)
1583+
@eval Base.getindex(A::$S, i::Int...) = getindex(A.x, i...)
15841584
@eval Base.IndexStyle(::Type{<:$S{<:Any,<:Any,A}}) where {A} = IndexStyle(A)
15851585
end
15861586
Base.IterationStyle(A::IterateTraits1) = Base.IterationStyle(A.x)

0 commit comments

Comments
 (0)