Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamGS committed Aug 16, 2024
1 parent c4ba053 commit 171c96a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions vortex-array/src/array/primitive/compute/compare.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,8 @@ mod test {
.iter()
.enumerate()
.filter_map(|(idx, v)| {
indices_bits
.validity()
.is_valid(idx)
.then(|| v.then_some(idx as u64))
.flatten()
let valid_and_true = indices_bits.validity().is_valid(idx) & v;
valid_and_true.then_some(idx as u64)
})
.collect_vec();
filtered
Expand Down

0 comments on commit 171c96a

Please sign in to comment.