From 4a5c3d8f275a1db0be99bc9b3efd9166aea9b0b2 Mon Sep 17 00:00:00 2001 From: conrad Date: Mon, 11 Aug 2025 00:48:59 +1000 Subject: [PATCH] rearrange --- include/armadillo_bits/op_fft_meat.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;