diff --git a/include/sdsp/fft.h b/include/sdsp/fft.h index 0f19923..7b50368 100644 --- a/include/sdsp/fft.h +++ b/include/sdsp/fft.h @@ -228,8 +228,8 @@ namespace sdsp static_assert(isPowerOf2(N), "FFT size must be a power of 2!"); //compile time calculations - constexpr auto wCoeffs {calc_wCoeffs()}; - constexpr auto swapLookup {calc_swap_lookup()}; + constexpr static auto wCoeffs {calc_wCoeffs()}; + constexpr static auto swapLookup {calc_swap_lookup()}; //decimation in time //perform swap on inputs @@ -272,9 +272,9 @@ namespace sdsp static_assert(isPowerOf4(N), "FFT radix 4 size must be a power of 4!"); //compile time calculations - constexpr auto wCoeffs {calc_wCoeffs()}; - constexpr auto swapLookup {calc_swap_lookup()}; - constexpr uint coeff_subscript {log2(N) - 1}; + constexpr static auto wCoeffs {calc_wCoeffs()}; + constexpr static auto swapLookup {calc_swap_lookup()}; + constexpr static uint coeff_subscript {log2(N) - 1}; for (uint i {0}; i < log4(N); i++) { uint i_group_size {static_cast(N) / (4u << (2u * i))};