#17637: Stopgap for IntegerListsLex
-------------------------------------------------+-------------------------
Reporter: ncohen | Owner:
Type: defect | Status: closed
Priority: blocker | Milestone: sage-6.5
Component: combinatorics | Resolution: fixed
Keywords: | Merged in:
Authors: Nathann Cohen | Reviewers: Jeroen
Report Upstream: N/A | Demeyer
Branch: | Work issues:
5f0062460c512ebf001e12632daadb25961e7c81 | Commit:
Dependencies: | Stopgaps:
-------------------------------------------------+-------------------------
Comment (by aschilling):
Replying to [comment:11 ncohen]:
> Dear Anne,
>
> > As far as I can see from #17548 there are actually no known bugs with
regards to IntegerListsLex.
>
> What about those examples from #17548 ?
>
> {{{
> sage: Partitions(5, min_slope=1).list()
> ValueError: [2, 4] is not a valid partition
> sage: IntegerListsLex(5, length=3, max_slope=0).list() # 0 is allowed
in the partition
> [[5, 0, 0], [4, 1, 0], [3, 2, 0], [3, 1, 1], [2, 2, 1]]
> sage: IntegerListsLex(5, max_slope=0).list() # now its not
> [[5], [4, 1], [3, 2], [3, 1, 1], [2, 2, 1], [2, 1, 1, 1], [1, 1, 1, 1,
1]]
> }}}
>
> I will answer other points on #17898.
>
> Nathann
Read the answers that Travis gave on that ticket. They are consistent with
the specifications or bad user input.
Anne
--
Ticket URL: <http://trac.sagemath.org/ticket/17637#comment:12>
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.