forgot to mod rmul

This commit is contained in:
lafrite 2014-06-27 11:01:44 +02:00
parent 369c2cd77a
commit b0ca85a029
1 changed files with 1 additions and 3 deletions

View File

@ -211,9 +211,7 @@ class Fraction(object):
return steps
def __rmul__(self, other):
number = self.convert2fraction(other)
return number * self
return self * other
def __truediv__(self, other):
if other == 0: