#10042: Doctest failure in sage/rings/polynomial/polynomial_element.pyx
---------------------------------------+------------------------------------
   Reporter:  mpatel                   |       Owner:  mvngu     
       Type:  defect                   |      Status:  needs_work
   Priority:  blocker                  |   Milestone:  sage-4.6  
  Component:  doctest                  |    Keywords:            
     Author:                           |    Upstream:  N/A       
   Reviewer:                           |      Merged:            
Work_issues:  report upstream (numpy)  |  
---------------------------------------+------------------------------------

Comment(by kcrisman):

 I'm not sure what I am supposed to get with this - what is wrong with 0.0?
 {{{
 sage: res
 array([ 0.,  0.])
 sage: res[0]
 0.0
 sage: res[1]
 0.0
 }}}
 Should this not happen, but instead just give `0.`?  Maybe that is the
 bug, then; I get this consistently, and `astype` is a numpy method.

 I still get the bad result up through `roots`, but the rest is mysterious
 to me (other than it gets access to the `dgeev` method.  `results` seems
 to be just
 {{{
 sage: results
 {'info': 0, 'lda': 2, 'jobvl': 'N', 'ldvl': 1, 'n': 2, 'ldvr': 1, 'lwork':
 -1, 'jobvr': 'N', 'dgeev_': 0}
 }}}
 I hope that is helpful to know.

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