#10028: inconsistent error messages for inverting singular matrices
------------------------------+---------------------------------------------
   Reporter:  dmharvey        |       Owner:  jason, was     
       Type:  defect          |      Status:  positive_review
   Priority:  trivial         |   Milestone:  sage-4.6.2     
  Component:  linear algebra  |    Keywords:                 
     Author:  Andre Apitzsch  |    Upstream:  N/A            
   Reviewer:  Rob Beezer      |      Merged:                 
Work_issues:                  |  
------------------------------+---------------------------------------------
Changes (by newvalueoldvalue):

  * status:  needs_review => positive_review
  * reviewer:  => Rob Beezer
  * author:  => Andre Apitzsch


Old description:

> n = 2:
> {{{
> sage: Matrix([[1, 1], [1, 1]])^(-1)
> ...
> ZeroDivisionError:
> }}}
>
> apparently all other n:
> {{{
> sage: Matrix([[1, 1, 1], [1, 1, 1], [1, 1, 1]])^(-1)
> ...
> ZeroDivisionError: input matrix must be nonsingular
> }}}

New description:

 n = 2:
 {{{
 sage: Matrix([[1, 1], [1, 1]])^(-1)
 ...
 ZeroDivisionError:
 }}}

 apparently all other n:
 {{{
 sage: Matrix([[1, 1, 1], [1, 1, 1], [1, 1, 1]])^(-1)
 ...
 ZeroDivisionError: input matrix must be nonsingular
 }}}

 Apply trac_10028_error_messages.patch

--

Comment:

 Looks real good.  Thanks for straightening this out.  Passes all tests on
 4.6.2.alpha2.  Positive review.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10028#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to