From 45bdde6eb91e73144ce2d6050b71b0ca926a8bbf Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Fri, 24 Aug 2012 23:57:00 -0400 Subject: [PATCH] Fix convexification by simple_hull. --- loopy/cse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loopy/cse.py b/loopy/cse.py index 67e41cb9c..87ba115fe 100644 --- a/loopy/cse.py +++ b/loopy/cse.py @@ -625,7 +625,7 @@ def precompute(kernel, subst_use, dtype, sweep_inames=[], if len(new_domain.get_basic_sets()) > 1: hull_new_domain = new_domain.simple_hull() - if hull_new_domain <= new_domain: + if isl.Set.from_basic_set(hull_new_domain) <= new_domain: new_domain = hull_new_domain if isinstance(new_domain, isl.Set): -- GitLab