This one
http://trac.sagemath.org/ticket/16059
Vincent
On 22/05/15 10:06, Vincent Delecroix wrote:
Hello,
> I have noticed a strange behaviour of Cayley graph of finitely presented
> groups in Sage 6.7. For example, one gets
>
> sage: groups.presentation.KleinFour().cayley_graph()
> Digraph on 14 vertices
This is indeed a problem... there are duplications in the vertices
a*b*a is equal to b
but they do not have the same hash. So Python sets get confused
sage: G = groups.presentation.KleinFour().cayley_graph()
sage: V = G.vertices()
sage: V[6]
b
sage: V[7]
a*b*a
sage: V[6] == V[7]
True
sage: hash(V[6])
12544037731
sage: hash(V[7])
5369751366068266535
There had already been a similar ticket for this problem but I do not
remember which one.
Vincent
--
You received this message because you are subscribed to the Google Groups
"sage-support" 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-support.
For more options, visit https://groups.google.com/d/optout.