Incorrect exception for non-square matrix in Matrix::LUPDecomposition#det
If m is a non-square matrix , m.lup.det should raise Matrix::ErrDimensionMismatch, but it raises NoMethodError.
ruby -rmatrix -e 'Matrix0, 0.lup.det'
det': undefined methodsquare?' for #Matrix::LUPDecomposition:0xbb4284 (NoMethodError)
from -e:1:in `'
- Assignee set to Marc-Andre Lafortune
- Status changed from Open to Assigned
(I'm not sure about this issue)
marcandre, Is this 2.0 issue? High priority? (release blocker?)
- Category set to lib
- Status changed from Assigned to Closed
- Target version set to 2.0.0
Oh, I already fixed it with r38807, just forgot to reference the bug report in the commit log.
Thanks pypypy for the bug report
Also available in: Atom