Skip to content

Commit

Permalink
Fix RT #126391: [BUG] Bad "divide by 0" error message
Browse files Browse the repository at this point in the history
  • Loading branch information
stmuk committed Oct 20, 2015
1 parent 56dbb06 commit 8b4c2ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/Rat.pm
Expand Up @@ -177,6 +177,7 @@ multi sub infix:</>(Rational \a, Int \b) {
}

multi sub infix:</>(Int \a, Rational \b) {
b.REDUCE-ME; # RT #126391: [BUG] Bad "divide by 0" error message
DIVIDE_NUMBERS
b.denominator * a,
b.numerator,
Expand Down

0 comments on commit 8b4c2ab

Please sign in to comment.