X-Git-Url: https://svn.cri.ensmp.fr/git/linpy.git/blobdiff_plain/2ffea1a47578a1b1d09906d57511062d68e6abea..1154bf4ff8c2d7e7882703917a58d3a42995d78a:/pypol/linexprs.py diff --git a/pypol/linexprs.py b/pypol/linexprs.py index b330045..10daf9d 100644 --- a/pypol/linexprs.py +++ b/pypol/linexprs.py @@ -441,7 +441,7 @@ def symbolname(symbol): def symbolnames(symbols): if isinstance(symbols, str): return symbols.replace(',', ' ').split() - return (symbolname(symbol) for symbol in symbols) + return tuple(symbolname(symbol) for symbol in symbols) class Constant(Expression):