diff options
author | imushir | 2015-11-27 15:24:05 +0530 |
---|---|---|
committer | imushir | 2015-11-27 15:24:05 +0530 |
commit | 1deb8dda99b1bd8e65f1ff9a3ca3fadd95b27684 (patch) | |
tree | 1c55e2329d91e18c5ab72d4111e67a806df79af5 /src/c/statisticsFunctions/min/scolumnmina.c | |
parent | 5f2d4d678256289e72c1455cf26d9c0ecdeedc0e (diff) | |
download | Scilab2C_fossee_old-1deb8dda99b1bd8e65f1ff9a3ca3fadd95b27684.tar.gz Scilab2C_fossee_old-1deb8dda99b1bd8e65f1ff9a3ca3fadd95b27684.tar.bz2 Scilab2C_fossee_old-1deb8dda99b1bd8e65f1ff9a3ca3fadd95b27684.zip |
added c files for u8 u16 i8 i16
Diffstat (limited to 'src/c/statisticsFunctions/min/scolumnmina.c')
-rw-r--r-- | src/c/statisticsFunctions/min/scolumnmina.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c/statisticsFunctions/min/scolumnmina.c b/src/c/statisticsFunctions/min/scolumnmina.c index 79fac41..8e19b1d 100644 --- a/src/c/statisticsFunctions/min/scolumnmina.c +++ b/src/c/statisticsFunctions/min/scolumnmina.c @@ -16,7 +16,7 @@ void scolumnmina(float *in, int rows, int columns, float* out) { int i = 0, j = 0; for (i = 0; i < rows; i++) { - out[i]=in[i]; + out[i]=in[i*columns]; for (j=0;j<columns;j++) if (in[i+j*rows]<out[i]) out[i] = in[i+j*rows]; } |