summaryrefslogtreecommitdiff
path: root/src/statisticsFunctions/variance/zvariancea.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/statisticsFunctions/variance/zvariancea.c')
-rw-r--r--src/statisticsFunctions/variance/zvariancea.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/statisticsFunctions/variance/zvariancea.c b/src/statisticsFunctions/variance/zvariancea.c
index add08df5..17dabe59 100644
--- a/src/statisticsFunctions/variance/zvariancea.c
+++ b/src/statisticsFunctions/variance/zvariancea.c
@@ -38,12 +38,12 @@ doubleComplex zvariancea(doubleComplex *in, int size)
if ( fabs ( zreals ( sumc)) > 1e-16 || fabs ( zimags ( sumc)) > 1e-16 )
{
variance = zpows ( sumc ,DoubleComplex (2 , 0)) ;
- variance = zdivides ( variance , DoubleComplex ( size , 0 ) ) ;
+ variance = zrdivs ( variance , DoubleComplex ( size , 0 ) ) ;
variance = zdiffs ( sum , variance );
- variance = zdivides (variance , DoubleComplex ( (size - 1),0 ));
+ variance = zrdivs (variance , DoubleComplex ( (size - 1),0 ));
}
else
- variance = zdivides (sum , DoubleComplex ( (size - 1),0 ));
+ variance = zrdivs (sum , DoubleComplex ( (size - 1),0 ));
return variance ;
}