Bugs item #9451, was opened at 2007-03-21 21:40
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=9451&group_id=426

>Category: Triage (do not select)
Group: 1.9.x
Status: Open
Resolution: None
Priority: 3
Submitted By: Ed Borasky (znmeb)
Assigned to: Nobody (None)
Summary: Exception in Matrix inverse

Initial Comment:
Step 1: download and build 1.9.0. Log file attached.
Step 2: run "ruby MatrixBenchmark.rb 64". Code attached.

Error is generated:


ruby -v MatrixBenchmark.rb $DIMENSION
ruby 1.9.0 (2007-03-22 patchlevel 0) [i686-linux]
warning: method redefined; discarding old sqrt
warning: method redefined; discarding old exp
warning: method redefined; discarding old log
warning: method redefined; discarding old log10
warning: method redefined; discarding old cosh
warning: method redefined; discarding old cos
warning: method redefined; discarding old sinh
warning: method redefined; discarding old sin
warning: method redefined; discarding old tan
warning: method redefined; discarding old tanh
warning: method redefined; discarding old acos
warning: method redefined; discarding old asin
warning: method redefined; discarding old atan
warning: method redefined; discarding old atan2
warning: method redefined; discarding old acosh
warning: method redefined; discarding old asinh
warning: method redefined; discarding old atanh
/home/znmeb/cougar/MatrixBenchmark/ruby-test/yarv/lib/ruby/1.9/rational.rb:479: warning: method redefined; discarding old quo
/home/znmeb/cougar/MatrixBenchmark/ruby-test/yarv/lib/ruby/1.9/rational.rb:506: warning: method redefined; discarding old quo
warning: shadowing outer local variable - j
warning: shadowing outer local variable - j
warning: shadowing outer local variable - j
warning: shadowing outer local variable - j
warning: shadowing outer local variable - i
warning: shadowing outer local variable - i
warning: shadowing outer local variable - i
warning: method redefined; discarding old sqrt
/home/znmeb/cougar/MatrixBenchmark/ruby-test/yarv/lib/ruby/1.9/e2mmap.rb:161:in `Raise': $! not set (ArgumentError)
  from /home/znmeb/cougar/MatrixBenchmark/ruby-test/yarv/lib/ruby/1.9/e2mmap.rb:85:in `Raise'
  from /home/znmeb/cougar/MatrixBenchmark/ruby-test/yarv/lib/ruby/1.9/matrix.rb:611:in `block in inverse_from'
  from /home/znmeb/cougar/MatrixBenchmark/ruby-test/yarv/lib/ruby/1.9/matrix.rb:601:in `each'
  from /home/znmeb/cougar/MatrixBenchmark/ruby-test/yarv/lib/ruby/1.9/matrix.rb:601:in `inverse_from'
  from /home/znmeb/cougar/MatrixBenchmark/ruby-test/yarv/lib/ruby/1.9/matrix.rb:590:in `inverse'
  from MatrixBenchmark.rb:9:in `block in do_benchmark'
  from /home/znmeb/cougar/MatrixBenchmark/ruby-test/yarv/lib/ruby/1.9/benchmark.rb:293:in `measure'
  from MatrixBenchmark.rb:6:in `do_benchmark'
  from MatrixBenchmark.rb:21:in `<main>'
Hilbert matrix of dimension 64 times its inverse = identity? 






----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=9451&group_id=426