From c13651b0f53465466265ea6e05d37de5816fbed0 Mon Sep 17 00:00:00 2001 From: jofret Date: Wed, 22 Apr 2009 06:23:45 +0000 Subject: malloc --- src/signalProcessing/ifft/zifftma.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/signalProcessing/ifft/zifftma.c') diff --git a/src/signalProcessing/ifft/zifftma.c b/src/signalProcessing/ifft/zifftma.c index b02f0fed..3b1de4cb 100644 --- a/src/signalProcessing/ifft/zifftma.c +++ b/src/signalProcessing/ifft/zifftma.c @@ -12,6 +12,7 @@ #define IFFT842 1 #define DFFT2 0 +#include #include #include "ifft.h" #include "lapack.h" @@ -32,13 +33,13 @@ void zifftma ( doubleComplex* in , int rows, int cols, doubleComplex* out) int ierr = 0 ; int isn = 1; int i = 0; - + int increment=1; double* realIn = (double*) malloc ( sizeof (double) * (unsigned int) size ); double* imagIn = (double*) malloc ( sizeof (double) * (unsigned int) size ); doubleComplex* inCopy = (doubleComplex*) malloc ( sizeof (doubleComplex) * (unsigned int) size ); - + doubleComplex* inTemp = (doubleComplex*) malloc ( sizeof (doubleComplex) * (unsigned int) size ); @@ -46,7 +47,7 @@ void zifftma ( doubleComplex* in , int rows, int cols, doubleComplex* out) zimaga ( in , size , imagIn) ; zreala ( in , size , realIn) ; for (i=0;i