X-Git-Url: https://svn.cri.ensmp.fr/git/linpy.git/blobdiff_plain/bb5bf66e65ca05ea05fd6a646ab2d57871571789..5fa0e7932a1621bee505991475291e43225a4b49:/pypol/domains.py?ds=inline diff --git a/pypol/domains.py b/pypol/domains.py index fd588b7..a34b75b 100644 --- a/pypol/domains.py +++ b/pypol/domains.py @@ -81,6 +81,12 @@ class Domain: libisl.isl_set_free(islset) return universe + def isbounded(self): + islset = self._toislset(self.polyhedra, self.symbols) + bounded = bool(libisl.isl_set_is_bounded(islset)) + libisl.isl_set_free(islset) + return bounded + def __eq__(self, other): symbols = self._xsymbols([self, other]) islset1 = self._toislset(self.polyhedra, symbols)