From 82b5a04bead8dc9504cadd5ca7db247f7648ca13 Mon Sep 17 00:00:00 2001 From: Paul Sutton Date: Tue, 17 Jun 2014 10:46:07 +0100 Subject: [PATCH] Minor edits --- lte/include/lte/utils/dft.h | 8 ++++---- lte/lib/utils/src/convolution.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lte/include/lte/utils/dft.h b/lte/include/lte/utils/dft.h index c1d76228b..ee880eed7 100644 --- a/lte/include/lte/utils/dft.h +++ b/lte/include/lte/utils/dft.h @@ -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. */ diff --git a/lte/lib/utils/src/convolution.c b/lte/lib/utils/src/convolution.c index 93ac4db56..6a6d7d4bf 100644 --- a/lte/lib/utils/src/convolution.c +++ b/lte/lib/utils/src/convolution.c @@ -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) {