X-Git-Url: https://svn.cri.ensmp.fr/git/linpy.git/blobdiff_plain/2ffea1a47578a1b1d09906d57511062d68e6abea..eb2eadbbeeaf00d7e2af18e6c8ee47602f96e528:/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):