-
-
Notifications
You must be signed in to change notification settings - Fork 482
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trac #34662: sage.combinat.permutation.from_cycles produces wrong res…
…ult when 'cycles' is a generator We have {{{ sage: cycles = [[1,2,3],[4,5,6]] sage: sage.combinat.permutation.from_cycles(6,cycles) [2, 3, 1, 5, 6, 4] sage: sage.combinat.permutation.from_cycles(6,(c for c in cycles)) [1, 2, 3, 4, 5, 6] }}} where the former result is correct and the latter is wrong. URL: https://trac.sagemath.org/34662 Reported by: gh-maxale Ticket author(s): Dave Morris Reviewer(s): Travis Scrimshaw
- Loading branch information
Showing
1 changed file
with
34 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters