#17979: Reimplementation of IntegerListsLex
-------------------------------------+-------------------------------------
       Reporter:  aschilling         |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  blocker            |    Milestone:  sage-6.6
      Component:  combinatorics      |   Resolution:
       Keywords:  days64             |    Merged in:
        Authors:  Bryan Gillespie,   |    Reviewers:  Nathann Cohen, Jeroen
  Anne Schilling, Nicolas M. Thiery  |  Demeyer, Travis Scrimshaw
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  public/ticket/17979                |  92bc243feb2f3f8645dbe28970a77fd5e8edd578
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by aschilling):

 The following is weird behavior that needs to be fixed!!

 {{{
 sage: IntegerListsLex([2,2],length=2).list()
 [[2, 0], [1, 1], [0, 2], [2, 0], [1, 1], [0, 2]]
 sage: IntegerListsLex([2,2],length=3).list()
 [[2, 0], [1, 1], [0, 2], [2, 0], [1, 1], [0, 2]]
 }}}

 The answer should really be

 {{{
 sage: IntegerListsLex([2,2],length=3).list()
 [[2, 0, 0],
  [1, 1, 0],
  [1, 0, 1],
  [0, 2, 0],
  [0, 1, 1],
  [0, 0, 2],
  [2, 0, 0],
  [1, 1, 0],
  [1, 0, 1],
  [0, 2, 0],
  [0, 1, 1],
  [0, 0, 2]]
 }}}
 ----
 New commits:
 
||[http://git.sagemath.org/sage.git/commit/?id=92bc243feb2f3f8645dbe28970a77fd5e8edd578
 92bc243]||{{{17979 fixed doubled up doc test}}}||

--
Ticket URL: <http://trac.sagemath.org/ticket/17979#comment:433>
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/d/optout.

Reply via email to