From e0c666df0a59f80d50ff5e3f0d79ba510151a939 Mon Sep 17 00:00:00 2001 From: Joaquin Carletti Date: Thu, 17 Oct 2024 11:47:16 -0300 Subject: [PATCH] remove unused functions --- math/src/circle/cfft.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/math/src/circle/cfft.rs b/math/src/circle/cfft.rs index d20c7346a..26509bbe6 100644 --- a/math/src/circle/cfft.rs +++ b/math/src/circle/cfft.rs @@ -109,16 +109,6 @@ pub fn order_icfft_input_naive( result } -// We are not using this fucntion. -pub fn reverse_cfft_index(index: usize, length: usize) -> usize { - if index < (length >> 1) { - // index < length / 2 - index << 1 // index * 2 - } else { - (((length - 1) - index) << 1) + 1 - } -} - #[cfg(test)] mod tests { use super::*;