From 2137b3e4b89f981b5ff03a04370ba6a4f2c84692 Mon Sep 17 00:00:00 2001 From: Saveliy Yusufov Date: Tue, 30 Jan 2024 00:27:08 -0500 Subject: [PATCH] cargo fmt --- src/lib.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index fa14324..abda732 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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());