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/scentera.c | |
parent | 953447ba5cd043470d0f35c8a780e1b4c4d0aebf (diff) | |
download | scilab2c-716c7a821a76e65bff30d0292095c585e37c3ac0.tar.gz scilab2c-716c7a821a76e65bff30d0292095c585e37c3ac0.tar.bz2 scilab2c-716c7a821a76e65bff30d0292095c585e37c3ac0.zip |
Diffstat (limited to 'src/c/statisticsFunctions/center/scentera.c')
-rw-r--r-- | src/c/statisticsFunctions/center/scentera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/statisticsFunctions/center/scentera.c b/src/c/statisticsFunctions/center/scentera.c index 2b165be1..3f9c7930 100644 --- a/src/c/statisticsFunctions/center/scentera.c +++ b/src/c/statisticsFunctions/center/scentera.c @@ -8,7 +8,7 @@ void scentera (float* inp, int row, int col, float* out) { - float sum = 0, xbar = 0, sigma = 0; + float 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); |