isl_convex_hull.c: is_bound: any inequality is a bound on an empty set
authorSven Verdoolaege <skimo@kotnet.org>
Wed, 28 Apr 2010 09:58:32 +0000 (11:58 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 28 Apr 2010 09:58:32 +0000 (11:58 +0200)
isl_convex_hull.c

index df7a686..d4bf780 100644 (file)
@@ -2050,7 +2050,7 @@ static int is_bound(struct sh_data *data, struct isl_set *set, int j,
 
        isl_int_clear(opt);
 
-       return res == isl_lp_ok ? 1 :
+       return (res == isl_lp_ok || res == isl_lp_empty) ? 1 :
               res == isl_lp_unbounded ? 0 : -1;
 }