Skip to content

Commit

Permalink
Put macro definition begind feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
smu160 committed May 22, 2024
1 parent 9699f9e commit 4d43190
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ impl_fft_with_opts_and_plan_for!(
16
);

#[cfg(feature = "complex-nums")]
macro_rules! impl_separate_re_im {
($func_name:ident, $precision:ty, $lanes:literal, $simd_vec:ty) => {
/// Utility function to separate interleaved format signals (i.e., Vector of Complex Number Structs)
Expand Down Expand Up @@ -293,8 +294,8 @@ mod tests {
use std::ops::Range;

use utilities::assert_float_closeness;
use utilities::rustfft::num_complex::Complex;
use utilities::rustfft::FftPlanner;
use utilities::rustfft::num_complex::Complex;

use super::*;

Expand Down

0 comments on commit 4d43190

Please sign in to comment.