Skip to content

Permutation groups .degree() function misleads. #3404

@jasongrout

Description

@jasongrout

Both of the graphs below are the path graph on 3 vertices. The problem is that the first labeling returns a permutation group of degree 2, when it should be of degree 3.

sage: g=Graph('Bo')
sage: print g.automorphism_group().degree()
2
sage: h=Graph('Bg')
sage: print h.automorphism_group().degree()
3
sage: g.is_isomorphic(h)
True

Component: basic arithmetic

Issue created by migration from https://trac.sagemath.org/ticket/3404

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions