From 92d3899c14d576c20762d7860f5e2f137923da0c Mon Sep 17 00:00:00 2001 From: torset Date: Mon, 16 Feb 2009 15:29:51 +0000 Subject: Miscellanous change - Major change : change size by rows for more comprehension --- src/matrixOperations/logm/dlogma.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/matrixOperations/logm/dlogma.c') diff --git a/src/matrixOperations/logm/dlogma.c b/src/matrixOperations/logm/dlogma.c index 8a4986b5..2798e127 100644 --- a/src/matrixOperations/logm/dlogma.c +++ b/src/matrixOperations/logm/dlogma.c @@ -14,15 +14,15 @@ #include "logm.h" -void dlogma (double* in, int size, doubleComplex* out){ +void dlogma (double* in, int rows, doubleComplex* out){ doubleComplex *inCpx; int i; - inCpx=malloc((uint)(size*size)*sizeof(doubleComplex)); + inCpx=malloc((uint)(rows*rows)*sizeof(doubleComplex)); - for (i=0;i