From 2af9351db3aa97da9b0d3f23d53a593bc96c8a8e Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Fri, 2 Feb 2018 18:33:22 -0500 Subject: does potts now, no external libraries --- lib/convex.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/convex.h') 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 #include +#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); -- cgit v1.2.3-70-g09d2