Skip to content

Commit

Permalink
Merge pull request #29 from Tokazama/patch-1
Browse files Browse the repository at this point in the history
These are outdated and no longer necessary.
  • Loading branch information
ChrisRackauckas authored Nov 3, 2021
2 parents 7b55ac5 + 4d5d3e8 commit cd66974
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/EllipsisNotation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,6 @@ Base.@propagate_inbounds function ArrayInterface.to_indices(A, inds::Tuple{Varar
return ArrayInterface.to_indices(A, inds, (ntuple(i -> indices(inds[i]), Val(M-N))..., tail(I)...))
end
ArrayInterface.to_indices(A, inds::Tuple{}, I::Tuple{Ellipsis}) = ()
ArrayInterface.is_linear_indexing(A, args::Tuple{Arg}) where {Arg<:Ellipsis} = false


#=
ArrayInterface.can_flatten(::Type{A}, ::Type{T}) where {A,T<:Ellipsis} = true
@inline function ArrayInterface.flatten_args(A, args::Tuple{Arg,Vararg{Any,N}}) where {Arg<:Ellipsis,N}
return (ntuple(i -> indices(axes(A, i)), Val(ndims(A) - N))..., flatten_args(A, tail(args))...)
end
=#

export ..

Expand Down

0 comments on commit cd66974

Please sign in to comment.