From fd673dc0f331731f5c413ab0c3e7899575b6436a Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Tue, 2 Sep 2014 21:30:56 +0000 Subject: revert fft malloc call --- fft.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fft.c') diff --git a/fft.c b/fft.c index c0827c5..2655d79 100644 --- a/fft.c +++ b/fft.c @@ -54,8 +54,8 @@ init_fft(size_t n) assert(p); p->n = n; - p->in = fftw_alloc_real(p->n); - p->out = fftw_alloc_real(p->n); + p->in = fftw_malloc(p->n * sizeof(double)); + p->out = fftw_malloc(p->n * sizeof(double)); assert(p->in && p->out); p->window = hamming(p->n); -- cgit v1.2.3