Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
a10y committed Jun 5, 2024
1 parent b6c9fec commit c527cb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions vortex-fastlanes/src/bitpacking/compress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion vortex-fastlanes/src/for/compute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)| {
Expand Down

0 comments on commit c527cb5

Please sign in to comment.