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 14e2e9272c..a5a121c6c6 100644 --- a/lib/mathn.rb +++ b/lib/mathn.rb @@ -43,6 +43,7 @@ class Integer end def prime_division + raise ZeroDivisionError if self == 0 ps = Prime.new value = self pv = [] |