All,
A power user sent me something akin to:
sage: PermutationGroup([(1,2)])
Permutation Group with generators [(1,2)]
sage: PermutationGroup([('a','b')])
Permutation Group with generators [('a','b')]
sage: PermutationGroup([(0,1)])
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<snip>
ValueError: Invalid permutation vector: [(0, 1)]
We expanded the possibilities for symbol sets, and it would be nice if this
0-index case was picked up properly. I could not find a ticket anywhere,
and will make one unless I hear otherwise that this is known (or "needs
review"!).
For the record, here's a reasonable workaround:
sage: S = SymmetricGroup([0,1])
sage: S.subgroup([(0,1)])
Subgroup of (Symmetric group of order 2! as a permutation group) generated
by [(0,1)]
Rob
--
You received this message because you are subscribed to the Google Groups
"sage-devel" 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-devel.
For more options, visit https://groups.google.com/groups/opt_out.