diff --git a/pymath/abstract_polynom.py b/pymath/abstract_polynom.py index f434983..9eb8894 100644 --- a/pymath/abstract_polynom.py +++ b/pymath/abstract_polynom.py @@ -65,6 +65,9 @@ class AbstractPolynom(Explicable): except IndexError: pass + if coefs == []: + coefs = [0] + self.feed_coef(coefs) self._letter = letter self.name = name