fix import and bug but div for absPoly
This commit is contained in:
parent
cff75c1fec
commit
b38df0f5d3
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user