Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
smu160 committed Jan 30, 2024
1 parent e1ba027 commit 2137b3e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ pub fn fft_dif(reals: &mut [Float], imags: &mut [Float]) {

let dist = 1 << (n - 1);
let chunk_size = dist << 1;
let (mut twiddles_re, mut twiddles_im) = if dist >= 8 * 2 { generate_twiddles_simd(dist) } else { generate_twiddles(dist) };
let (mut twiddles_re, mut twiddles_im) = if dist >= 8 * 2 {
generate_twiddles_simd(dist)
} else {
generate_twiddles(dist)
};

assert_eq!(twiddles_re.len(), twiddles_im.len());

Expand Down

0 comments on commit 2137b3e

Please sign in to comment.