#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:
  Anne Schilling, Nicolas M. Thiery  |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  56e831a1e2bbde6ccac2b883e69987b743201a37
  public/ticket/17979                |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by aschilling):

 Replying to [comment:140 jdemeyer]:
 > Please add also this example:
 > {{{
 > sage: sage: L = IntegerListsLex(ceiling=[1], min_slope=1, max_slope=1)
 > sage: it = iter(L)
 > sage: for _ in range(10):
 > ....:     print next(it)
 > }}}

 Fixed. The _check_lexicographic_iterable now also catches that this is not
 enumeratable under reverse lex order. I added the two tests that you
 mentioned.

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