From b0ca85a02995cc6a76916b3f42c03765eed3abf2 Mon Sep 17 00:00:00 2001 From: lafrite Date: Fri, 27 Jun 2014 11:01:44 +0200 Subject: [PATCH] forgot to mod rmul --- pymath/fraction.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pymath/fraction.py b/pymath/fraction.py index 187e703..1b1f976 100644 --- a/pymath/fraction.py +++ b/pymath/fraction.py @@ -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: