convex_hull: coalesce set first
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 17 Mar 2009 13:46:50 +0000 (14:46 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 20 Mar 2009 15:46:54 +0000 (16:46 +0100)
isl_convex_hull.c

index be21837..2cd4639 100644 (file)
@@ -1284,11 +1284,11 @@ static struct isl_basic_set *uset_convex_hull(struct isl_set *set)
        if (isl_set_n_dim(set) == 0)
                return convex_hull_0d(set);
 
+       set = isl_set_coalesce(set);
        set = isl_set_set_rational(set);
 
        if (!set)
                goto error;
-       set = isl_set_normalize(set);
        if (!set)
                return NULL;
        if (set->n == 1) {