summaryrefslogtreecommitdiff
path: root/lib/convex.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/convex.h')
-rw-r--r--lib/convex.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/convex.h b/lib/convex.h
index 29f4ae0..5a405d4 100644
--- a/lib/convex.h
+++ b/lib/convex.h
@@ -6,8 +6,10 @@
#include <stdlib.h>
#include <string.h>
+#include "types.h"
+
typedef struct {
- uint64_t x;
+ count_t x;
double y;
} point_t;
@@ -17,5 +19,5 @@ typedef struct list_tag {
point_t *p;
} list_t;
-double *get_convex_minorant(uint64_t n, double *Gammas);
+double *get_convex_minorant(count_t n, double *Gammas);