#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
Report Upstream: N/A | Work issues:
Branch: | Commit:
public/ticket/17979 | 49dd343182197e2707cf30d5fa118bafede16769
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
Replying to [comment:203 nthiery]:
> Replying to [comment:196 jdemeyer]:
> > Please add this somewhere in `__init__`:
> > {{{
> > if min_length < 0:
> > min_length = 0
> > }}}
>
> I am not sure whether I prefer this, or barking, but that's fine. Done,
together with further typechecks.
Well, I also prefer `raise ValueError(...)` in this case, but some
partitions code really sends a negative value for `min_length` to
`IntegerListsLex`.
--
Ticket URL: <http://trac.sagemath.org/ticket/17979#comment:211>
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.