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