from . import islhelper
from .islhelper import mainctx, libisl, isl_set_basic_sets
-from .linexprs import Expression
+from .linexprs import Expression, Symbol
__all__ = [
symbols = set()
for item in iterator:
symbols.update(item.symbols)
- return tuple(sorted(symbols, key=lambda symbol: symbol.name))
+ return tuple(sorted(symbols, key=Symbol.sortkey))
@property
def polyhedra(self):