isl_map_gist: use simple hull instead of convex hull
authorSven Verdoolaege <skimo@kotnet.org>
Thu, 29 Jul 2010 12:46:01 +0000 (14:46 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 30 Jul 2010 19:38:01 +0000 (21:38 +0200)
isl is still not very good at computing convex hulls.

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

index 4775efa..1c298c4 100644 (file)
@@ -1892,7 +1892,7 @@ error:
 __isl_give isl_map *isl_map_gist(__isl_take isl_map *map,
        __isl_take isl_map *context)
 {
-       return isl_map_gist_basic_map(map, isl_map_convex_hull(context));
+       return isl_map_gist_basic_map(map, isl_map_simple_hull(context));
 }
 
 struct isl_basic_set *isl_basic_set_gist(struct isl_basic_set *bset,