diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-02-02 18:33:22 -0500 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-02-02 18:33:22 -0500 |
commit | 2af9351db3aa97da9b0d3f23d53a593bc96c8a8e (patch) | |
tree | 684dfccba8d295c42ef6e2e070c8d6caca45f590 /lib/convex.h | |
parent | 181db84a8ffb26e436a43bb268fe5ef060206e66 (diff) | |
download | c++-2af9351db3aa97da9b0d3f23d53a593bc96c8a8e.tar.gz c++-2af9351db3aa97da9b0d3f23d53a593bc96c8a8e.tar.bz2 c++-2af9351db3aa97da9b0d3f23d53a593bc96c8a8e.zip |
does potts now, no external libraries
Diffstat (limited to 'lib/convex.h')
-rw-r--r-- | lib/convex.h | 6 |
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); |