From a72fcf13e211e6e191c13d16a9b1d3e846c62ef4 Mon Sep 17 00:00:00 2001 From: Nicholas Gates Date: Wed, 6 Mar 2024 09:35:01 +0000 Subject: [PATCH] Fix bench compile --- bench-vortex/benches/compress_benchmark.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench-vortex/benches/compress_benchmark.rs b/bench-vortex/benches/compress_benchmark.rs index 6915c00ec6..621983b2ae 100644 --- a/bench-vortex/benches/compress_benchmark.rs +++ b/bench-vortex/benches/compress_benchmark.rs @@ -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 = (0..len).map(|_| rng.sample(range)).collect(); - PrimitiveArray::from_vec(data) + PrimitiveArray::from(data) } fn gen_varbin_dict(len: usize, uniqueness: f64) -> VarBinArray {