diff options
Diffstat (limited to 'src/matrixOperations/logm/dlogma.c')
-rw-r--r-- | src/matrixOperations/logm/dlogma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/matrixOperations/logm/dlogma.c b/src/matrixOperations/logm/dlogma.c index 8df8ce3a..d38af5d0 100644 --- a/src/matrixOperations/logm/dlogma.c +++ b/src/matrixOperations/logm/dlogma.c @@ -18,8 +18,8 @@ void dlogma (double* in, int rows, double* out){ doubleComplex *inCpx,*outCpx; int i; - inCpx=malloc((uint)(rows*rows)*sizeof(doubleComplex)); - outCpx=malloc((uint)(rows*rows)*sizeof(doubleComplex)); + inCpx=(doubleComplex *)malloc((unsigned int)(rows*rows)*sizeof(doubleComplex)); + outCpx=(doubleComplex *)malloc((unsigned int)(rows*rows)*sizeof(doubleComplex)); for (i=0;i<rows*rows;i++) inCpx[i] = DoubleComplex(in[i],0); |