isl_convex_hull.c: explicitly mark wrapping lp problem as rational
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 10 Feb 2011 13:01:27 +0000 (14:01 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 10 Feb 2011 20:04:36 +0000 (21:04 +0100)
This shouldn't have any effect at the moment, but in future we may
want to be more aggressive on non-rational tableau.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_convex_hull.c

index 4e07acf..a644201 100644 (file)
@@ -290,6 +290,7 @@ static struct isl_basic_set *wrap_constraints(struct isl_set *set)
                n_ineq += set->p[i]->n_ineq;
        }
        lp = isl_basic_set_alloc(set->ctx, 0, dim * set->n, 0, n_eq, n_ineq);
+       lp = isl_basic_set_set_rational(lp);
        if (!lp)
                return NULL;
        lp_dim = isl_basic_set_n_dim(lp);