#4544: [with patch, needs review] comparison of CDF (or any inexact) elements
needs fixing
------------------------+---------------------------------------------------
 Reporter:  craigcitro  |        Owner:  jkantor   
     Type:  defect      |       Status:  new       
 Priority:  major       |    Milestone:  sage-3.4.1
Component:  numerical   |   Resolution:            
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by cwitty):

  * summary:  comparison of CDF (or any inexact) elements needs fixing =>
              [with patch, needs review] comparison of CDF
              (or any inexact) elements needs fixing

Comment:

 I'm totally unwilling to add some sort of epsilon for complex comparison
 in general; it's just a bad idea.

 However, the goal of sorting the output of .roots() is not so bad, and I'm
 willing to put an epsilon comparison in that sorting routine (since it's
 basically only for display, and especially since it helps doctest
 consistency); so that's what I've done in the attached patch.

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