#14966: multiple instances of Partitions with side-parameters
-------------------------+-------------------------------------------------
    Reporter:  dkrenn    |            Owner:
        Type:  defect    |           Status:  new
    Priority:  major     |        Milestone:
   Component:            |         Keywords:  Partitions, id, multiple
  combinatorics          |  instances
   Merged in:            |          Authors:
   Reviewers:            |  Report Upstream:  N/A
 Work issues:            |           Branch:
Dependencies:            |         Stopgaps:
-------------------------+-------------------------------------------------
 If I generate two {{{Partition}}}-objects with some side-paramters I get
 different objects:
 {{{
 sage: A=Partitions(4, min_length=2)
 sage: B=Partitions(4, min_length=2)
 sage: id(A), id(B)
 (116527952, 116528976)
 }}}
 But when I do the same without side-parameters I get the same object:
 {{{
 sage: A=Partitions(4)
 sage: B=Partitions(4)
 sage: id(A), id(B)
 (116529232, 116529232)
 }}}
 Both should behave in the same way (AFAIK, like the second example)

--
Ticket URL: <http://trac.sagemath.org/ticket/14966>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to