summaryrefslogtreecommitdiff
path: root/src/c/statisticsFunctions/max/dmaxa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c/statisticsFunctions/max/dmaxa.c')
-rw-r--r--src/c/statisticsFunctions/max/dmaxa.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/c/statisticsFunctions/max/dmaxa.c b/src/c/statisticsFunctions/max/dmaxa.c
index 5e2145e..6364463 100644
--- a/src/c/statisticsFunctions/max/dmaxa.c
+++ b/src/c/statisticsFunctions/max/dmaxa.c
@@ -11,14 +11,15 @@
*/
#include "statMax.h"
-
+//#include "max.h"
double dmaxa(double *in, int size) {
double out = in[0];
int i = 0;
for (i = 1; i < size; ++i)
{
- if (in[i]>out) out = in[i];
+ if (in[i]>out)
+ out = in[i];
}
return out;