summaryrefslogtreecommitdiff
path: root/src/c/statisticsFunctions/meanf/zrowmeanfa.c
diff options
context:
space:
mode:
authorsimon2009-08-04 11:52:49 +0000
committersimon2009-08-04 11:52:49 +0000
commitbe8c66b26fa69a8078ee369f0af5fb9372f95293 (patch)
treed3574f2f85042a199d5455221f58b23f05d5e394 /src/c/statisticsFunctions/meanf/zrowmeanfa.c
parentac2f79dabb674e9cf79e611c19b3acd2d98a9831 (diff)
downloadscilab2c-be8c66b26fa69a8078ee369f0af5fb9372f95293.tar.gz
scilab2c-be8c66b26fa69a8078ee369f0af5fb9372f95293.tar.bz2
scilab2c-be8c66b26fa69a8078ee369f0af5fb9372f95293.zip
added case where second input of meanf is complex
updated the header and interface added functiosn for the new cases update INIT_FillSCI2LibCDirs changing the unit test in order to test the new cases
Diffstat (limited to 'src/c/statisticsFunctions/meanf/zrowmeanfa.c')
-rw-r--r--src/c/statisticsFunctions/meanf/zrowmeanfa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/statisticsFunctions/meanf/zrowmeanfa.c b/src/c/statisticsFunctions/meanf/zrowmeanfa.c
index 1be43c99..79114137 100644
--- a/src/c/statisticsFunctions/meanf/zrowmeanfa.c
+++ b/src/c/statisticsFunctions/meanf/zrowmeanfa.c
@@ -26,7 +26,7 @@ void zrowmeanfa(doubleComplex *in1, int lines, int columns, doubleComplex *in2,
for ( i = 0 ; i < lines; ++i )
{
- tempMul = zmuls ( in1[lines*j + i] , in2[lines*j + i]); // we times by the coefficient
+ tempMul = zmuls ( in1[lines*j + i] , in2[lines*j + i]); /* we times by the coefficient*/
tempCoefSum = zadds ( in2[lines*j + i] ,tempCoefSum ) ;
out[j] = zadds (tempMul, out[j]) ;
}