fix import and bug but div for absPoly

This commit is contained in:
Benjamin Bertrand 2016-03-26 05:14:22 +03:00
parent cff75c1fec
commit b38df0f5d3
3 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/env python
# encoding: utf-8
from .calculus import Expression, Polynom, Fraction, random_str, txt
from .calculus import Expression, Polynom, Fraction, random_str, txt, Equation
from .stat import Dataset, WeightedDataset
from .geometry import random_pythagore

View File

@ -4,6 +4,7 @@
from .expression import Expression
from .polynom import Polynom
from .fraction import Fraction
from .equation import Equation
from .random_expression import random_str
from .render import txt

View File

@ -675,7 +675,7 @@ class AbstractPolynom(Explicable):
ans = AbstractPolynom(ans_coefs, letter=self._letter)
ini_step = [Step(
self.postfix_tokens +
[other, op.mul]
[other, op.div]
)]
ans = ans.simplify()