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 ed5f277 commit a72fcf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench-vortex/benches/compress_benchmark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ fn gen_primitive_dict(len: usize, uniqueness: f64) -> PrimitiveArray {
let range = Uniform::new(-(value_range / 2.0) as i32, (value_range / 2.0) as i32);
let data: Vec<i32> = (0..len).map(|_| rng.sample(range)).collect();

PrimitiveArray::from_vec(data)
PrimitiveArray::from(data)
}

fn gen_varbin_dict(len: usize, uniqueness: f64) -> VarBinArray {
Expand Down

0 comments on commit a72fcf1

Please sign in to comment.