From: Vivien Maisonneuve Date: Thu, 19 Jun 2014 08:16:56 +0000 (+0200) Subject: Fix symbols() function X-Git-Tag: 1.0~235 X-Git-Url: https://svn.cri.ensmp.fr/git/linpy.git/commitdiff_plain/62d93103f4c154e9c673172af6034ea9a3bf6dac?ds=sidebyside Fix symbols() function --- diff --git a/pypol/linear.py b/pypol/linear.py index 749f7c3..845fac3 100644 --- a/pypol/linear.py +++ b/pypol/linear.py @@ -355,7 +355,7 @@ class Symbol(Expression): def symbols(names): if isinstance(names, str): names = names.replace(',', ' ').split() - return (symbol(name) for name in names) + return (Symbol(name) for name in names) @_polymorphic_operator