Skip to content

Commit

Permalink
remove special path for :
Browse files Browse the repository at this point in the history
  • Loading branch information
bkamins committed Sep 14, 2021
1 parent 4722010 commit bc29631
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/other/index.jl
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ end
isempty(idx.cols) ? (1:length(x)) : throw(ArgumentError("All(args...) is not supported: use Cols(args...) instead"))
@inline Base.getindex(x::AbstractIndex, idx::Cols) =
isempty(idx.cols) ? Int[] : union(getindex.(Ref(x), idx.cols)...)
@inline Base.getindex(x::AbstractIndex, idx::Cols{Tuple{typeof(:)}}) = x[:]
@inline Base.getindex(x::AbstractIndex, idx::Cols{<:Tuple{Function}}) =
findall(idx.cols[1], names(x))

Expand Down

0 comments on commit bc29631

Please sign in to comment.