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 75a56c2 commit ffd13b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vortex-ree/src/compress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ fn ree_encode_primitive<T: NativePType>(elements: &[T]) -> (Vec<u64>, Vec<T>) {
let mut ends = Vec::new();
let mut values = Vec::new();

if elements.is_empty() {
return (ends, values);
}

// Run-end encode the values
let mut last = values[0];
let mut end = 1;
Expand Down

0 comments on commit ffd13b2

Please sign in to comment.