On Mon, May 14, 2012 at 11:20 PM, Nathann Cohen <nathann.co...@gmail.com> wrote: >> One thing to watch out for is that the generators returned by >> automorphism_group contain symbols that may not be the actual vertices. I >> realised this once after several frustrating hours of bizarre results from >> my program. I'm not sure if this is still the case in recent versions. > > Yep. I wasted 30 minutes easily on that one too. Actually the elements > are always 1...n regardless of the graph's labelling (which often > starts at 0). That's a shame.
This is because permutation groups used to not support arbitrary domains. Since they do now, it should be easy to return an automorphism group that actually acts on the vertices. --Mike -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org