summaryrefslogtreecommitdiff
path: root/src/c/elementaryFunctions/nanmax/dnanmaxrowa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/elementaryFunctions/nanmax/dnanmaxrowa.c')
-rw-r--r--src/c/elementaryFunctions/nanmax/dnanmaxrowa.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/c/elementaryFunctions/nanmax/dnanmaxrowa.c b/src/c/elementaryFunctions/nanmax/dnanmaxrowa.c
index 191fa01..47d4d38 100644
--- a/src/c/elementaryFunctions/nanmax/dnanmaxrowa.c
+++ b/src/c/elementaryFunctions/nanmax/dnanmaxrowa.c
@@ -15,9 +15,9 @@
#include "types.h"
#include "uint16.h"
-void dnanmaxrowa(double *in, int row, int col, double* out)
+void dnanmaxrowa(double *in, int row, int col, double* out1, double* out2)
{
- double inter[row];
+ double inter[row];
@@ -28,9 +28,10 @@ for(int i=0; i< col; i++)
inter[j]= in[j+ (i*row)];
}
- out[i]= dnanmaxa( inter, row);
+ out1[i]= dnanmax2a( inter, row, &out2[i]);
}
+
}