From d3d9705b2cf46d8e7800b8c489511528b07136d2 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Tue, 15 Jun 2010 12:30:41 +0200 Subject: [PATCH] isl_pw_qpolynomial{,_fold}_gist: use simple hull instead of convex hull We need a basic set to gist the domain. We used to take the convex hull of the input set, but the convex hull operation can be very slow in isl. Use the simple hull instead. --- isl_pw_templ.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isl_pw_templ.c b/isl_pw_templ.c index 97321f6e..221b7f4f 100644 --- a/isl_pw_templ.c +++ b/isl_pw_templ.c @@ -338,7 +338,7 @@ __isl_give PW *FN(PW,gist)(__isl_take PW *pw, __isl_take isl_set *context) return pw; } - hull = isl_set_convex_hull(isl_set_copy(context)); + hull = isl_set_simple_hull(isl_set_copy(context)); pw = FN(PW,cow)(pw); if (!pw) -- 2.11.4.GIT