debug fraction hope it's last bug...

This commit is contained in:
lafrite
2014-11-14 17:00:26 +01:00
parent c30fd89282
commit 057cbaeab7
2 changed files with 15 additions and 2 deletions

View File

@@ -169,7 +169,8 @@ class Fraction(object):
return number - self
def __neg__(self):
return Fraction(-self._num,self._denom).simplify()
f = Fraction(-self._num, self._denom)
return [f] + f.simplify()
def __mul__(self, other):
steps = []