diff --git a/vortex-sampling-compressor/src/compressors/for.rs b/vortex-sampling-compressor/src/compressors/for.rs index 1cd73df893..d40a682a91 100644 --- a/vortex-sampling-compressor/src/compressors/for.rs +++ b/vortex-sampling-compressor/src/compressors/for.rs @@ -35,7 +35,7 @@ impl EncodingCompressor for FoRCompressor { let shift = trailing_zeros(array); match_each_integer_ptype!(parray.ptype(), |$P| { let min: $P = parray.statistics().compute_min()?; - if min == 0 && shift == 0 { + if min == 0 && shift == 0 && parray.ptype().is_unsigned_int() { return None; } });