summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/elementaryFunctions/nanmax/dnanmaxcola.c
diff options
context:
space:
mode:
authorAbhinav Dronamraju2017-07-29 00:21:26 +0530
committerAbhinav Dronamraju2017-07-29 00:21:26 +0530
commit78c57c72c7532ea4abba4cb5d06ed34019a30c24 (patch)
tree7d1bdde8a9b590fde4233b8153bdf12d4d16913c /2.3-1/src/c/elementaryFunctions/nanmax/dnanmaxcola.c
parentcd41972eb98c3c69f74d6788e76e7789a846e53a (diff)
parent8398cac9dceebe7ae065b89dd0d39541acc11d5f (diff)
downloadScilab2C-78c57c72c7532ea4abba4cb5d06ed34019a30c24.tar.gz
Scilab2C-78c57c72c7532ea4abba4cb5d06ed34019a30c24.tar.bz2
Scilab2C-78c57c72c7532ea4abba4cb5d06ed34019a30c24.zip
Nan max few changes
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/nanmax/dnanmaxcola.c')
-rw-r--r--2.3-1/src/c/elementaryFunctions/nanmax/dnanmaxcola.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/nanmax/dnanmaxcola.c b/2.3-1/src/c/elementaryFunctions/nanmax/dnanmaxcola.c
index 9db07423..388337e7 100644
--- a/2.3-1/src/c/elementaryFunctions/nanmax/dnanmaxcola.c
+++ b/2.3-1/src/c/elementaryFunctions/nanmax/dnanmaxcola.c
@@ -15,7 +15,7 @@
#include "types.h"
#include "uint16.h"
-void dnanmaxcola(double *in, int row, int col, double* out)
+void dnanmaxcola(double *in, int row, int col, double* out1, double* out2)
{
double inter[col];
@@ -27,7 +27,7 @@ for(int i=0; i< row; i++)
inter[j]= in[i+ (j*row)];
}
- out[i]= dnanmaxa( inter, col);
+ out1[i]= dnanmax2a( inter, col, &out2[i]);
}