#11897: Fix eigenmatrix doctest to work across all platforms
---------------------------------------------------+------------------------
   Reporter:  rbeezer                              |          Owner:  jason, was
       Type:  defect                               |         Status:  needs_work
   Priority:  minor                                |      Milestone:  sage-4.7.2
  Component:  linear algebra                       |       Keywords:            
Work_issues:                                       |       Upstream:  N/A       
   Reviewer:  Karl-Dieter Crisman, Leif Leonhardy  |         Author:  Rob Beezer
     Merged:                                       |   Dependencies:            
---------------------------------------------------+------------------------
Changes (by kcrisman):

  * status:  needs_review => needs_work


Comment:

 Really sorry, folks.
 {{{
 Dasher-03:~/Desktop/sage-4.7.2.alpha3/devel/sage student$ ../../sage -t
 -long devel/sage/sage/matrix/matrix2.pyx
 sage -t -long "devel/sage/sage/matrix/matrix2.pyx"
 **********************************************************************
 File
 "/Users/student/Desktop/sage-4.7.2.alpha3/devel/sage/sage/matrix/matrix2.pyx",
 line 5282:
     sage: evalues = em[0]; evalues
 Expected:
     [    13.3484692...                 0                 0]
     [                0    -1.34846922...                 0]
     [                0                 0 -6.2265089...e-16]
 Got:
     [     13.3484692283                  0                  0]
     [                 0     -1.34846922835                  0]
     [                 0                  0 -1.35443935375e-15]
 **********************************************************************
 File
 "/Users/student/Desktop/sage-4.7.2.alpha3/devel/sage/sage/matrix/matrix2.pyx",
 line 5371:
     sage: evalues = em[0]; evalues
 Expected:
     [     13.3484692...                  0                  0]
     [                 0     -1.34846922...                  0]
     [                 0                  0 -8.86256604...e-16]
 Got:
     [    13.3484692283                 0                 0]
     [                0    -1.34846922835                 0]
     [                0                 0 1.74841524385e-16]
 **********************************************************************
 2 items had failures:
    1 of  21 in __main__.example_63
    1 of  21 in __main__.example_64
 ***Test Failed*** 2 failures.
 For whitespace errors, see the file
 /Users/student/.sage//tmp/matrix2_27324.py
          [262.0 s]

 ----------------------------------------------------------------------
 The following tests failed:


         sage -t -long "devel/sage/sage/matrix/matrix2.pyx"
 }}}
 We may need to use the new {{{# tol}}} construction for this one :(

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11897#comment:8>
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