summaryrefslogtreecommitdiff
path: root/src/c/elementaryFunctions/nanmax/dnanmaxcola.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/elementaryFunctions/nanmax/dnanmaxcola.c')
-rw-r--r--src/c/elementaryFunctions/nanmax/dnanmaxcola.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c/elementaryFunctions/nanmax/dnanmaxcola.c b/src/c/elementaryFunctions/nanmax/dnanmaxcola.c
index 9db0742..388337e 100644
--- a/src/c/elementaryFunctions/nanmax/dnanmaxcola.c
+++ b/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]);
}