projects
/
linpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleaner implementation of Rational
[linpy.git]
/
pypol
/
domains.py
diff --git
a/pypol/domains.py
b/pypol/domains.py
index
cd118e8
..
d80fd91
100644
(file)
--- a/
pypol/domains.py
+++ b/
pypol/domains.py
@@
-5,9
+5,8
@@
import re
from fractions import Fraction
from . import islhelper
from fractions import Fraction
from . import islhelper
-from .islhelper import mainctx, libisl, isl_set_basic_sets
-from .geometry import GeometricObject
-from .coordinates import Point
+from .islhelper import mainctx, libisl
+from .geometry import GeometricObject, Point
from .linexprs import Expression, Symbol
from .linexprs import Expression, Symbol
@@
-331,7
+330,7
@@
class Domain(GeometricObject):
def _fromislset(cls, islset, symbols):
from .polyhedra import Polyhedron
islset = libisl.isl_set_remove_divs(islset)
def _fromislset(cls, islset, symbols):
from .polyhedra import Polyhedron
islset = libisl.isl_set_remove_divs(islset)
- islbsets = isl_set_basic_sets(islset)
+ islbsets = isl
helper.isl
_set_basic_sets(islset)
libisl.isl_set_free(islset)
polyhedra = []
for islbset in islbsets:
libisl.isl_set_free(islset)
polyhedra = []
for islbset in islbsets: