Minor edits
This commit is contained in:
parent
c762cd6f0f
commit
82b5a04bea
2 changed files with 5 additions and 5 deletions
|
@ -33,10 +33,10 @@
|
|||
#include "lte/config.h"
|
||||
|
||||
|
||||
/* dft is a frontend to the fftw3 library. It facilitates the computation of complex or real DFT,
|
||||
* power spectral density, normalization, etc.
|
||||
* It also supports the creation of multiple FFT plans for different FFT sizes or options, selecting
|
||||
* a different one at runtime.
|
||||
/* dft is a frontend to the fftw3 library. It facilitates the computation of
|
||||
* complex or real DFT, power spectral density, normalization, etc.
|
||||
* It also supports the creation of multiple FFT plans for different FFT sizes
|
||||
* or options, selecting a different one at runtime.
|
||||
*/
|
||||
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ int conv_fft_cc_init(conv_fft_cc_t *state, int input_len, int filter_len) {
|
|||
state->input_len = input_len;
|
||||
state->filter_len = filter_len;
|
||||
state->output_len = input_len+filter_len-1;
|
||||
state->input_fft = vec_malloc(sizeof(_Complex float)*state->output_len);
|
||||
state->input_fft = vec_malloc(sizeof(_Complex float)*state->output_len);
|
||||
state->filter_fft = vec_malloc(sizeof(_Complex float)*state->output_len);
|
||||
state->output_fft = vec_malloc(sizeof(_Complex float)*state->output_len);
|
||||
if (!state->input_fft || !state->filter_fft || !state->output_fft) {
|
||||
|
|
Loading…
Reference in a new issue