reduce give list (not generator any more) big issue with render!!

This commit is contained in:
lafrite
2014-11-11 21:51:03 +01:00
parent c82e6c9a44
commit e93e14133d
2 changed files with 21 additions and 19 deletions

View File

@@ -176,8 +176,10 @@ class Polynom(object):
coefs_steps.append(coef_steps)
# On retourne la matrice
ans = []
for coefs in transpose_fill(coefs_steps):
yield Polynom(coefs, self._letter)
ans.append(Polynom(coefs, self._letter))
return ans
@staticmethod
def postfix_add(numbers):