Hi Kenny,
On 28 Jul., 04:36, Kenny Brown <[email protected]> wrote:
> ...
> sage: G.sylow_subgroup(3)
> ------------------------------------------------------------
> File "<string>", line 1
> [(1,344,246,148,50,393,295,197,99,),
> (2,345,247,149,51,394,296,198,100,),
> ...
> (22,365,267,169,71,414,316,218,120,),
> (23,366,268,170,72,415,317,219,121,),([...],)]
Thank you for the report.
I just had a look at the source code. In the sylow_subgroup method, it
is attempted to get a string representation of a permutation in GAP,
and to translate this into a permutation in Sage. Problem:
gap.eval("gen[%d];"%j) (this is the line were the error occurs) yields
a string, but it is mutilated by ([...],), as shown in the error
message.
I think a solution would be to use gap.eval("Print(gens[1]);")
instead. I'll try this, and create a trac ticket for it.
Cheers,
Simon
--
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