Ticket #6804 (closed defect: fixed)
Permutation.weak_excedences inconsistency
| Reported by: | schilly | Owned by: | mhansen |
|---|---|---|---|
| Priority: | major | Milestone: | sage-5.0 |
| Component: | combinatorics | Keywords: | |
| Cc: | mjo | Work issues: | |
| Report Upstream: | N/A | Reviewers: | Nathann Cohen |
| Authors: | Michael Orlitzky | Merged in: | sage-5.0.beta2 |
| Dependencies: | Stopgaps: |
Description
Either code or docstring is wrong in 4.1.1, "=" vs. ">=":
Returns all the numbers self[i] such that self[i] = i+1
if self[i] >= i + 1:
res.append(self[i])
Attachments
Change History
Changed 17 months ago by mjo
-
attachment
sage-trac_6804.patch
added
comment:1 Changed 17 months ago by mjo
- Cc mjo added
- Status changed from new to needs_review
- Report Upstream set to N/A
- Authors set to Michael Orlitzky
I found a reference; the bug was in the docstring.
Note: See
TracTickets for help on using
tickets.

Fix the docstring.