summaryrefslogtreecommitdiff
path: root/src/c/elementaryFunctions/nanmin/dnanminrowa.c
diff options
context:
space:
mode:
authorAbhinav Dronamraju2017-07-29 02:38:28 +0530
committerAbhinav Dronamraju2017-07-29 02:38:28 +0530
commit1f639242264252674aaec1b2726a4389eed9a7c0 (patch)
tree4e08a147578ec40316dd980e76669c078609a73b /src/c/elementaryFunctions/nanmin/dnanminrowa.c
parente3630a1a245b9b7a2aba285a242bea200398ff6a (diff)
parentbe665fa018032441e5fa9352962286d96303e33c (diff)
downloadScilab2C_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.c11
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;
}