From 30984c3e2d78676a9138aca4c84ea2124f1074bd Mon Sep 17 00:00:00 2001 From: jofret Date: Tue, 23 Mar 2010 10:37:56 +0000 Subject: Correct cast --- src/c/statisticsFunctions/stdevf/zstdevfdz.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/c/statisticsFunctions/stdevf/zstdevfdz.c') diff --git a/src/c/statisticsFunctions/stdevf/zstdevfdz.c b/src/c/statisticsFunctions/stdevf/zstdevfdz.c index 5e731beb..0074a43f 100644 --- a/src/c/statisticsFunctions/stdevf/zstdevfdz.c +++ b/src/c/statisticsFunctions/stdevf/zstdevfdz.c @@ -16,8 +16,7 @@ doubleComplex zstdevfdz(double *in1, int lines, int columns, doubleComplex* in2) { - double* ZEROS; - ZEROS=malloc((unsigned int)(lines*columns*sizeof(double))); + double* ZEROS = (double *) malloc((unsigned int)(lines*columns*sizeof(double))); dzerosa(ZEROS,lines,columns); return zstdevfa(DoubleComplexMatrix(in1,ZEROS,lines*columns), lines,columns , in2); -- cgit