#6804: Permutation.weak_excedences inconsistency
---------------------------+------------------------------------------------
Reporter: schilly | Owner: mhansen
Type: defect | Status: new
Priority: major | Milestone: sage-4.1.2
Component: combinatorics | Keywords:
Reviewer: | Author:
Merged: |
---------------------------+------------------------------------------------
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])
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6804>
Sage <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---