From f5ef103eaad2c4657d76e48e363e4d8aef174540 Mon Sep 17 00:00:00 2001 From: jofret Date: Wed, 22 Apr 2009 06:23:15 +0000 Subject: Missing include --- src/signalProcessing/fft/dfftma.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/signalProcessing/fft/dfftma.c') diff --git a/src/signalProcessing/fft/dfftma.c b/src/signalProcessing/fft/dfftma.c index f855c1b7..bd8cc0be 100644 --- a/src/signalProcessing/fft/dfftma.c +++ b/src/signalProcessing/fft/dfftma.c @@ -1,7 +1,7 @@ /* * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab * Copyright (C) 2008 - INRIA - Arnaud Torset - * + * * This file must be used under the terms of the CeCILL. * This source file is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -10,6 +10,7 @@ * */ +#include #include "fft.h" #include "zeros.h" @@ -19,13 +20,13 @@ void dfftma ( double* in , int rows, int cols, double* out){ doubleComplex* inCpx; doubleComplex* outCpx; - ZEROS = malloc((uint)(rows*cols)*sizeof(double)); - outCpx = malloc((uint)(rows*cols)*sizeof(doubleComplex)); - + ZEROS = (double*) malloc((unsigned int)(rows*cols)*sizeof(double)); + outCpx = (doubleComplex*) malloc((unsigned int)(rows*cols)*sizeof(doubleComplex)); + dzerosa(ZEROS,rows,cols); inCpx=DoubleComplexMatrix(in,ZEROS,rows*cols); - + zfftma(inCpx,rows,cols,outCpx); - + zreala(outCpx, rows*cols, out); } -- cgit