#17548: Partitions() involving min_slope argument is buggy
----------------------------+----------------------------------------------
Reporter: | Owner: ferriszorro
ferriszorro | Status: needs_review
Type: defect | Milestone: sage-duplicate/invalid/wontfix
Priority: minor | Resolution:
Component: | Merged in:
combinatorics | Reviewers:
Keywords: | Work issues:
Partitions | Commit:
Authors: | Stopgaps:
Report Upstream: N/A |
Branch: |
Dependencies: |
----------------------------+----------------------------------------------
Comment (by vdelecroix):
Replying to [comment:7 tscrim]:
> This is actually bad input: the slopes should be negative (to be useful
for partitions). From the documentation of `Partitions`:
> {{{
> - ``min_slope=k`` specifies that the partitions have slope at least
> `k`; the slope is the difference between successive parts.
> }}}
This is confusing: the difference between `a` and `b` is `a-b` and not
`b-a`. But hopefully, it is clear in the doctest.
--
Ticket URL: <http://trac.sagemath.org/ticket/17548#comment:13>
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.