diff --git a/src/window.rs b/src/window.rs index 08f2d78..603760e 100644 --- a/src/window.rs +++ b/src/window.rs @@ -171,7 +171,7 @@ pub(crate) struct NafLookupTable8(pub(crate) [T; 64]); impl NafLookupTable8 { pub fn select(&self, x: usize) -> T { debug_assert_eq!(x & 1, 1); - debug_assert!(x < 256); + debug_assert!(x < 128); self.0[x / 2] }