#12663: Partitions(-1).list() goes intto infinte recursion
-----------------------------+----------------------------------------------
   Reporter:  mantepse       |          Owner:  sage-combinat          
       Type:  defect         |         Status:  new                    
   Priority:  minor          |      Milestone:  sage-5.0               
  Component:  combinatorics  |       Keywords:  Partitions, corner case
Work_issues:                 |       Upstream:  N/A                    
   Reviewer:                 |         Author:  Martin Rubey           
     Merged:                 |   Dependencies:                         
-----------------------------+----------------------------------------------
 Currently Partitions only checks whether its argument is an integer, but
 iterating through Partitions(-1) fails.  The question is whether we want
 to accept only nonnegative integers or to return the empty list.  (I vote
 for the empty list)

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