diff options
Diffstat (limited to 'lib/mathn.rb')
-rw-r--r-- | lib/mathn.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mathn.rb b/lib/mathn.rb index f3be55eb6d..9a4cf33240 100644 --- a/lib/mathn.rb +++ b/lib/mathn.rb @@ -201,7 +201,7 @@ class Rational neard = self.denominator.to_f ** (1.0/other.denominator.to_f) loop do if (neard**other.denominator == self.denominator) - dem = neaed + dem = neard break end end |