From c527cb5a566895b58793655a6b488d837c08b192 Mon Sep 17 00:00:00 2001 From: Andrew Duffy Date: Wed, 5 Jun 2024 19:08:47 +0100 Subject: [PATCH] more --- vortex-fastlanes/src/bitpacking/compress.rs | 3 +-- vortex-fastlanes/src/for/compute.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/vortex-fastlanes/src/bitpacking/compress.rs b/vortex-fastlanes/src/bitpacking/compress.rs index 1dfcd1c710..63ed4dba55 100644 --- a/vortex-fastlanes/src/bitpacking/compress.rs +++ b/vortex-fastlanes/src/bitpacking/compress.rs @@ -67,8 +67,7 @@ impl EncodingCompression for BitPackedEncoding { return Ok(array.clone()); } - // let validity = ctx.compress_validity(parray.validity())?; - let validity = parray.validity(); + let validity = ctx.compress_validity(parray.validity())?; let packed = bitpack(&parray, bit_width)?; let patches = if num_exceptions > 0 { Some(ctx.auxiliary("patches").compress( diff --git a/vortex-fastlanes/src/for/compute.rs b/vortex-fastlanes/src/for/compute.rs index 09ca8af77a..4b18d308fe 100644 --- a/vortex-fastlanes/src/for/compute.rs +++ b/vortex-fastlanes/src/for/compute.rs @@ -114,7 +114,7 @@ mod test { let flattened = as_contiguous(&[forarr1, forarr2]).unwrap(); - vec![1, 2, 3, 4, 5, 6, 7, 8] + [1, 2, 3, 4, 5, 6, 7, 8] .iter() .enumerate() .for_each(|(idx, value)| {