#10684: plot of rational function crashes sage
--------------------------+-------------------------------------------------
   Reporter:  AlexGhitza  |       Owner:  jason, was                  
       Type:  defect      |      Status:  new                         
   Priority:  critical    |   Milestone:  sage-4.7                    
  Component:  graphics    |    Keywords:  plot rational function crash
     Author:              |    Upstream:  N/A                         
   Reviewer:              |      Merged:                              
Work_issues:              |  
--------------------------+-------------------------------------------------
 In sage-4.6.1, the following plot command results in a crash:

 {{{
 sage: plot(lambda x: 1/(x^2-0.5^2), (-10, 10), ymin=-5, ymax=5)
 /opt/sage/local/bin/sage-sage: line 300:  5596 Illegal instruction
 (core dumped) sage-ipython "$@" -i
 }}}

 Note that the following modified version works fine:

 {{{
 sage: plot(lambda x: 1/(x^2-1^2), (-10, 10), ymin=-5, ymax=5)
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10684>
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