diff options
author | Sunil Shetye | 2019-05-17 17:30:07 +0530 |
---|---|---|
committer | Sunil Shetye | 2019-05-29 11:08:06 +0530 |
commit | 716c7a821a76e65bff30d0292095c585e37c3ac0 (patch) | |
tree | e56be10d77d70990c749b139d063b6bda69523ec /src/c/statisticsFunctions/center/dcentera.c | |
parent | 953447ba5cd043470d0f35c8a780e1b4c4d0aebf (diff) | |
download | scilab2c-716c7a821a76e65bff30d0292095c585e37c3ac0.tar.gz scilab2c-716c7a821a76e65bff30d0292095c585e37c3ac0.tar.bz2 scilab2c-716c7a821a76e65bff30d0292095c585e37c3ac0.zip |
Diffstat (limited to 'src/c/statisticsFunctions/center/dcentera.c')
-rw-r--r-- | src/c/statisticsFunctions/center/dcentera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/statisticsFunctions/center/dcentera.c b/src/c/statisticsFunctions/center/dcentera.c index 87480386..17b95c0c 100644 --- a/src/c/statisticsFunctions/center/dcentera.c +++ b/src/c/statisticsFunctions/center/dcentera.c @@ -8,7 +8,7 @@ void dcentera (double* inp, int row, int col, double* out) { - double sum = 0, xbar = 0, sigma = 0; + double sum = 0, xbar = 0; for(int i = 0; i < row*col; i++) // Findinag the maen of all the elements of the matrix sum += inp[i]; xbar = sum/(row*col); |