From 3627c22a4bd2d14a4d7bd2dbb72c99df156482d4 Mon Sep 17 00:00:00 2001 From: Lukas Devos Date: Mon, 26 Jan 2026 09:53:26 -0500 Subject: [PATCH] retain storagetype in `_ind_intersect` --- src/implementations/truncation.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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