Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There is definitely an error due to wrong relabelling in the modular_decomposition method, see a minimal example:

sage: G=Graph({1:[2],2:[1]})
sage: G.modular_decomposition()
KeyError: 2

Thanks for reporting ! This is now trac ticket 24898.

click to hide/show revision 2
No.2 Revision

There is definitely an error due to wrong relabelling in the modular_decomposition method, see a minimal example:

sage: G=Graph({1:[2],2:[1]})
sage: G.modular_decomposition()
KeyError: 2

Thanks for reporting ! This is now trac ticket 24898.