Skip to content

Commit

Permalink
remove unused functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ColoCarletti committed Oct 17, 2024
1 parent 28ab71f commit e0c666d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions math/src/circle/cfft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::*;
Expand Down

0 comments on commit e0c666d

Please sign in to comment.