#7957: problems with real_part function
-------------------------+--------------------------------------------------
   Reporter:  burcin     |       Owner:  burcin       
       Type:  defect     |      Status:  needs_review 
   Priority:  major      |   Milestone:  sage-4.3.2   
  Component:  symbolics  |    Keywords:               
Work_issues:             |      Author:  Burcin Erocal
   Upstream:  N/A        |    Reviewer:               
     Merged:             |  
-------------------------+--------------------------------------------------
Changes (by newvalueoldvalue):

  * status:  new => needs_review
  * author:  => Burcin Erocal


Comment:

 attachment:trac_7957-pynac_exceptions.patch adds exception handling to
 sage/symbolic/pynac.pyx to eliminate the "error ignored" message.

 With a simple change in the pynac `numeric::real()` code, new timings are:

 Before:

 {{{
 sage: %time real(v14)
 CPU times: user 30.19 s, sys: 0.42 s, total: 30.61 s
 Wall time: 30.96 s
 -0.5773508481209188?
 }}}

 After:

 {{{
 sage: %time real(v14)
 CPU times: user 0.01 s, sys: 0.00 s, total: 0.01 s
 Wall time: 0.01 s
 -0.5773508481209188?
 }}}

 I'll make a new pynac package including this change available soon.

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