From: Vivien Maisonneuve Date: Fri, 11 Jul 2014 16:31:45 +0000 (+0200) Subject: Clean up an import in domains.py X-Git-Tag: 1.0~121 X-Git-Url: https://scm.cri.mines-paristech.fr/git/linpy.git/commitdiff_plain/ce31a1de5082c55b5eed1825ae95d827c55a8b92?ds=sidebyside;hp=6ec23dc57252ffe01aa60595fc499f580381e4a9 Clean up an import in domains.py --- diff --git a/pypol/domains.py b/pypol/domains.py index cd118e8..5d98af8 100644 --- a/pypol/domains.py +++ b/pypol/domains.py @@ -5,7 +5,7 @@ import re from fractions import Fraction from . import islhelper -from .islhelper import mainctx, libisl, isl_set_basic_sets +from .islhelper import mainctx, libisl from .geometry import GeometricObject from .coordinates import Point from .linexprs import Expression, Symbol @@ -331,7 +331,7 @@ class Domain(GeometricObject): def _fromislset(cls, islset, symbols): from .polyhedra import Polyhedron islset = libisl.isl_set_remove_divs(islset) - islbsets = isl_set_basic_sets(islset) + islbsets = islhelper.isl_set_basic_sets(islset) libisl.isl_set_free(islset) polyhedra = [] for islbset in islbsets: