Hello,
I get a strange error while constructing permutation from a cycle
decomposition. Is it a bug or not the right way to build a
permutation ?
{{{
sage: G = SymmetricGroup(3)
sage: G([(2,3), (1,)])
(2,3)
sage: G([(1,), (2,3)])
---------------------------------------------------------------------------
TypeError Traceback (most recent call
last)
[...]
TypeError: Gap produced error output
Syntax error: ; expected
$sage8:=(1)(2, 3);;
^
executing $sage8:=(1)(2, 3);;
}}}
(the same error occurs by using the constructor
PermutationGroupElement instead of G)
Vincent
--
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-support
URL: http://www.sagemath.org