Skip to content

Commit b018722

Browse files
committed
graphs.modular_decomposition: fix linter
1 parent cdda9d5 commit b018722

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/sage/graphs/graph_decompositions/modular_decomposition.pyx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ class NodeType(IntEnum):
169169

170170
__str__ = __repr__
171171

172+
172173
class Node:
173174
"""
174175
Node class stores information about the node type.
@@ -583,6 +584,7 @@ def habib_maurer_algorithm(graph, g_classes=None):
583584
for sg in g_comp.connected_components(sort=False)]
584585
return root
585586

587+
586588
################################################################################
587589
# Exported modular_decomposition function #
588590
################################################################################
@@ -645,10 +647,10 @@ def modular_decomposition(G, algorithm=None):
645647
else: # algorithm == "corneil_habib_paul_tedder"
646648
return corneil_habib_paul_tedder_algorithm(G)
647649

650+
648651
# ============================================================================
649652
# Below functions are implemented to test the modular decomposition tree
650653
# ============================================================================
651-
652654
# Function implemented for testing
653655
def test_modular_decomposition(tree_root, graph):
654656
"""

0 commit comments

Comments
 (0)