diff --git a/src/implementations/truncation.jl b/src/implementations/truncation.jl index 945e0772..8d0229ba 100644 --- a/src/implementations/truncation.jl +++ b/src/implementations/truncation.jl @@ -120,7 +120,7 @@ end # when one of the ind selections is a bitvector, have to handle differently function _ind_intersect(A::AbstractVector{Bool}, B::AbstractVector) - result = falses(length(A)) + result = fill!(similar(A), false) result[B] .= @view A[B] return result end