aboutsummaryrefslogtreecommitdiff
path: root/rat2canon.c
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-07-26 14:21:16 -0300
committerDavid Bremner <david@tethera.net>2021-07-26 14:21:16 -0300
commit309b8f3246d7a387e2f20e1ccb32b1c9285f81f1 (patch)
tree66e81cf2a48f54804470092b3034b89e999f24e4 /rat2canon.c
parent05ab183959c26fa092298a9d78b1d632f6dc28c3 (diff)
rat2canon: get building with lrslib 072
Diffstat (limited to 'rat2canon.c')
-rw-r--r--rat2canon.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/rat2canon.c b/rat2canon.c
index 4225462..4b2d4e2 100644
--- a/rat2canon.c
+++ b/rat2canon.c
@@ -2,12 +2,10 @@
* Reads a polyhedron file on stdin with rationals and outputs
* a canonical form with normalized rhs and sorted constraints.
*
- * David Bremner. bremner@cs.mcgill.ca
+ * David Bremner. bremner@unb.ca
*
*/
-static char rcsid[]="$Id: rat2float.c 2343 2006-04-04 12:34:35Z bremner $";
-
#ifndef LRSMP
#error This file only compiles with LRSMP
#endif
@@ -18,8 +16,8 @@ static char rcsid[]="$Id: rat2float.c 2343 2006-04-04 12:34:35Z bremner $";
#include <float.h>
#include <errno.h>
#include "lrsmp.h"
-
-
+#include "ine_io.h"
+#include "process_args.h"
typedef lrs_mp integer_t;
#define MP_DIGITS 1000L
@@ -29,7 +27,7 @@ typedef lrs_mp integer_t;
static int *rows=NULL;
-static long int m,n;
+static int m,n;
static lrs_mp **An;
static lrs_mp **Ad;