lib/mpfr/matrix.rb in ruby-mpfr-0.0.14 vs lib/mpfr/matrix.rb in ruby-mpfr-0.0.15
- old
+ new
@@ -1,8 +1,8 @@
require 'mpfr'
require 'mpfr/matrix.so'
-class MPFR
+class MPFR < Numeric
class Matrix
def str_ary2_2(format)
ary = str_ary(format)
tmp = []
(0...row_size).each { tmp << [] }