diff options
author | Abhinav Dronamraju | 2017-07-29 02:38:28 +0530 |
---|---|---|
committer | Abhinav Dronamraju | 2017-07-29 02:38:28 +0530 |
commit | 1f639242264252674aaec1b2726a4389eed9a7c0 (patch) | |
tree | 4e08a147578ec40316dd980e76669c078609a73b /src/c/elementaryFunctions/nanmin/dnanminrowa.c | |
parent | e3630a1a245b9b7a2aba285a242bea200398ff6a (diff) | |
parent | be665fa018032441e5fa9352962286d96303e33c (diff) | |
download | Scilab2C_fossee_old-1f639242264252674aaec1b2726a4389eed9a7c0.tar.gz Scilab2C_fossee_old-1f639242264252674aaec1b2726a4389eed9a7c0.tar.bz2 Scilab2C_fossee_old-1f639242264252674aaec1b2726a4389eed9a7c0.zip |
Merge
Diffstat (limited to 'src/c/elementaryFunctions/nanmin/dnanminrowa.c')
-rw-r--r-- | src/c/elementaryFunctions/nanmin/dnanminrowa.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/c/elementaryFunctions/nanmin/dnanminrowa.c b/src/c/elementaryFunctions/nanmin/dnanminrowa.c index d255ef1..0909fc2 100644 --- a/src/c/elementaryFunctions/nanmin/dnanminrowa.c +++ b/src/c/elementaryFunctions/nanmin/dnanminrowa.c @@ -15,22 +15,21 @@ #include <math.h> #include "nanmin.h" -void dnanminrowa(double *in, int row, int col, double *p, double *out) +void dnanminrowa(double *in, int row, int col, double *out, double *p) { - double inter[row]; + double inter[row], *position; -for(int i=0; i< col; i++) + for(int i=0; i< col; i++) { for(int j=0 ; j< row; j++) { inter[j]= in[j+ (i*row)]; } - out[i]= dnanmina( inter, row, 1, p); - + out[i]= dnanmina( inter, row, 1, position); } - + //p = position; } |