We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent add55c2 commit 871da0eCopy full SHA for 871da0e
src/query/expression/src/hilbert/index.rs
@@ -32,7 +32,7 @@ use crate::hilbert::LUT;
32
/// The function assumes that the dimension is between 2 and 5 and the points are correctly aligned according to the width.
33
pub fn hilbert_index(point: &[&[u8]], width: usize) -> Vec<u8> {
34
let n = point.len();
35
- debug_assert!((2..=5).contains(&n));
+ assert!((2..=5).contains(&n));
36
37
let num_bits = width * 8;
38
let total_bits = num_bits * n;
0 commit comments