From: "pypypy567 (py _)" Date: 2012-12-25T07:40:10+09:00 Subject: [ruby-core:51118] [ruby-trunk - Bug #7620][Open] Incorrect exception for non-square matrix in Matrix::LUPDecomposition#det Issue #7620 has been reported by pypypy567 (py _). ---------------------------------------- Bug #7620: Incorrect exception for non-square matrix in Matrix::LUPDecomposition#det https://bugs.ruby-lang.org/issues/7620 Author: pypypy567 (py _) Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 2.0.0dev (2012-11-01) [i386-mswin32_100] If m is a non-square matrix , m.lup.det should raise Matrix::ErrDimensionMismatch, but it raises NoMethodError. > ruby -rmatrix -e 'Matrix[[0, 0]].lup.det' C:/ruby200/lib/ruby/2.0.0/matrix/lup_decomposition.rb:80:in `det': undefined method `square?' for # (NoMethodError) from -e:1:in `
' -- http://bugs.ruby-lang.org/