Update drop_dims, now works with more than 2 dims passed
[linpy.git] / pypol / linexprs.py
index b330045..10daf9d 100644 (file)
@@ -441,7 +441,7 @@ def symbolname(symbol):
 def symbolnames(symbols):
     if isinstance(symbols, str):
         return symbols.replace(',', ' ').split()
 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):
 
 
 class Constant(Expression):