Actions
Bug #7620
closedIncorrect exception for non-square matrix in Matrix::LUPDecomposition#det
Description
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:indet': undefined method
square?' for #Matrix::LUPDecomposition:0xbb4284 (NoMethodError)
from -e:1:in `'
Files
Actions
Like0
Like0Like0Like0Like0