#3980: [with patch, positive review] Find_root bug
----------------------+-----------------------------------------------------
 Reporter:  kcrisman  |        Owner:  jwmerrill
     Type:  defect    |       Status:  new      
 Priority:  minor     |    Milestone:  sage-3.2 
Component:  calculus  |   Resolution:           
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by mhampton):

  * summary:  [with patch, needs review] Find_root bug => [with patch,
              positive review] Find_root bug

Comment:

 OK, this passes tests and it seems OK.  One thing I noticed, which I think
 can be considered beyond the scope of this patch, is that


 {{{
 var('t')
 plot(sin(t*x),-1,1)
 }}}
 quickly fails with "ValueError: free variable: x", which is good, but:

 {{{
 plot(lambda t: sin(t*x),-1,1)
 }}}
 tries to plot 400 values and finally gives
 {{{
 verbose 0 (3585: plot.py, _plot) WARNING: When plotting, failed to
 evaluate function at 400 points.
 verbose 0 (3585: plot.py, _plot) Last error message: 'float() argument
 must be a string or a number'
 }}}
 and an empty plot.  It would be nice to speed up that failure if you know
 an easy way.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/3980#comment:7>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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