# Revision history [back]

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.

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.