You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `BitVector(::AbstractVector{Bool})` method uses the `Base.nextind`
method to increment the inds from `eachindex` that I didn't know existed.
I'm not exactly sure why they use that instead of just iterating `eachindex`
but it turns out we can define `nextind` to be pretty efficient for
`ChainedVectorIndex` since we basically already have that logic in
`eachindex(::ChainedVector)`.
Fixes the issue reported in #74.
* Define nextind/prevind for ChainedVectorIndex
The `BitVector(::AbstractVector{Bool})` method uses the `Base.nextind`
method to increment the inds from `eachindex` that I didn't know existed.
I'm not exactly sure why they use that instead of just iterating `eachindex`
but it turns out we can define `nextind` to be pretty efficient for
`ChainedVectorIndex` since we basically already have that logic in
`eachindex(::ChainedVector)`.
Fixes the issue reported in #74.
* fix nightly test
* fix out of bounds cases
An example showing the problem:
original problem reported by the user: JuliaData/DataFrames.jl#3154
The text was updated successfully, but these errors were encountered: