diff options
Diffstat (limited to 'lib/mathn.rb')
-rw-r--r-- | lib/mathn.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mathn.rb b/lib/mathn.rb index 3dea0afec1..84c0b4704d 100644 --- a/lib/mathn.rb +++ b/lib/mathn.rb @@ -25,6 +25,7 @@ class Integer end def prime_division + raise ZeroDivisionError if self == 0 ps = Prime.new value = self pv = [] |