diff --git a/include/armadillo_bits/op_fft_meat.hpp b/include/armadillo_bits/op_fft_meat.hpp index 9c300d38..bcf2e1a3 100644 --- a/include/armadillo_bits/op_fft_meat.hpp +++ b/include/armadillo_bits/op_fft_meat.hpp @@ -45,7 +45,7 @@ struct fft_engine_wrapper { arma_debug_sigprint(); - const bool use_fftw3 = (N_samples >= (threshold / N_exec)) && (is_cx_fp16::no); + const bool use_fftw3 = (is_cx_fp16::no) && (N_samples >= (threshold / N_exec)); worker_kissfft = (use_fftw3 == false) ? new fft_engine_kissfft(N_samples) : nullptr; worker_fftw3 = (use_fftw3 == true ) ? new fft_engine_fftw3 (N_samples) : nullptr;