From c983b7e48ae2c3c9bf1bd187d4c55087ab9e6125 Mon Sep 17 00:00:00 2001 From: Nicholas Gates Date: Sat, 11 May 2024 10:54:56 +0100 Subject: [PATCH] Fix transmute hack --- vortex-ipc/src/reader.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vortex-ipc/src/reader.rs b/vortex-ipc/src/reader.rs index f34e44fcab..6418254cef 100644 --- a/vortex-ipc/src/reader.rs +++ b/vortex-ipc/src/reader.rs @@ -563,10 +563,10 @@ mod tests { #[test] fn test_write_read_bitpacked() { // NB: the order is reversed here to ensure we aren't grabbing indexes instead of values - let uncompressed = PrimitiveArray::from((0i64..3_000).rev().collect_vec()); + let uncompressed = PrimitiveArray::from((0u64..3_000).rev().collect_vec()); let packed = BitPackedArray::encode(uncompressed.array(), 5).unwrap(); - let expected = &[2989i64, 2988, 2987, 2986]; + let expected = &[2989u64, 2988, 2987, 2986]; test_base_case(&packed.into_array(), expected, PrimitiveEncoding.id()); }