Skip to content

Commit

Permalink
Fix bench compile
Browse files Browse the repository at this point in the history
  • Loading branch information
gatesn committed Mar 6, 2024
1 parent c7de126 commit ed5f277
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions vortex-fastlanes/src/bitpacking/compress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,12 @@ mod test {
);
let ctx = CompressCtx::new(&cfg);

let compressed = ctx.compress(
&PrimitiveArray::from(Vec::from_iter((0..10_000).map(|i| (i % 63) as u8))),
None,
)?;
let compressed = ctx
.compress(
&PrimitiveArray::from(Vec::from_iter((0..10_000).map(|i| (i % 63) as u8))),
None,
)
.unwrap();
assert_eq!(compressed.encoding().id(), BitPackedEncoding.id());
let bp = compressed
.as_any()
Expand Down

0 comments on commit ed5f277

Please sign in to comment.