#5759: [with patch, needs rebase] bug in divides
------------------------------+---------------------------------------------
 Reporter:  was               |       Owner:  was       
     Type:  defect            |      Status:  new       
 Priority:  major             |   Milestone:  sage-4.1.3
Component:  basic arithmetic  |    Keywords:            
 Reviewer:                    |      Author:            
   Merged:                    |  
------------------------------+---------------------------------------------

Comment(by cremona):

 In fact the original patches can be discarded since they only fixed things
 that have been fixed anyway in #5347.  What we do not have is a check the
 self and other are in "the same ring", which is not so obvious -- the
 simplest would be to throw an error if the parents were not identical, but
 that seems to harsh (it would cause 1.divides(1/2) to fail).  Better would
 be to coerce into a common parent first -- the sort of thing which is done
 for {{{__add___()}}}.

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