code display in fraction.py

This commit is contained in:
Benjamin Bertrand 2016-03-02 16:16:18 +03:00
parent 0b04f1eb48
commit 5d4fe72764
1 changed files with 2 additions and 6 deletions

View File

@ -78,12 +78,8 @@ class Fraction(Explicable):
elif gcd_ != 1:
n_frac = Fraction(self._num // gcd_, self._denom // gcd_)
ini_step += [Expression([n_frac._num,
gcd_,
op.mul,
n_frac._denom,
gcd_,
op.mul,
ini_step += [Expression([n_frac._num, gcd_, op.mul,
n_frac._denom, gcd_, op.mul,
op.div])]
n_frac.steps = ini_step + n_frac.steps