From 944adc297833079abaf30caa473bb7b04be9cdb8 Mon Sep 17 00:00:00 2001 From: Simon Van de Vyver Date: Thu, 24 Oct 2024 11:36:24 +0200 Subject: [PATCH] add comment --- libsais64-rs/src/bitpacking.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsais64-rs/src/bitpacking.rs b/libsais64-rs/src/bitpacking.rs index d6d4cc8..ea6578e 100644 --- a/libsais64-rs/src/bitpacking.rs +++ b/libsais64-rs/src/bitpacking.rs @@ -80,7 +80,7 @@ pub fn bitpack_text_16(text: &Vec, sparseness_factor: usize) -> Vec { } -// Bitpack text in a vector of u16 elements. BITS_PER_CHAR * sparseness_factor <= 32. +// Bitpack text in a vector of u32 elements. BITS_PER_CHAR * sparseness_factor <= 32. pub fn bitpack_text_32(text: &Vec, sparseness_factor: usize) -> Vec { assert!(BITS_PER_CHAR * sparseness_factor <= 32);