From e1a8659ea3f0f6aef3167cff590351a5d03e83a4 Mon Sep 17 00:00:00 2001 From: conrad Date: Tue, 14 Feb 2023 01:47:42 +1000 Subject: [PATCH] simplifications --- include/armadillo_bits/op_fft_meat.hpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/include/armadillo_bits/op_fft_meat.hpp b/include/armadillo_bits/op_fft_meat.hpp index f8332943..74fef1d0 100644 --- a/include/armadillo_bits/op_fft_meat.hpp +++ b/include/armadillo_bits/op_fft_meat.hpp @@ -107,9 +107,7 @@ op_fft_real::apply( Mat< std::complex >& out, const mtOp< if( (N_user == 1) && (N_orig >= 1) ) { out[0] = out_eT( X[0] ); return; } - podarray data(N_user); - - data.zeros(); + podarray data(N_user, arma_zeros_indicator()); out_eT* data_mem = data.memptr(); const in_eT* X_mem = X.memptr(); @@ -135,9 +133,7 @@ op_fft_real::apply( Mat< std::complex >& out, const mtOp< return; } - podarray data(N_user); - - data.zeros(); + podarray data(N_user, arma_zeros_indicator()); out_eT* data_mem = data.memptr();