Skip to content

Commit 886d408

Browse files
committed
Fix typo in function signature
1 parent 5a29934 commit 886d408

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pymathics/graph/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
= -Graph-
2222
2323
>> ConnectedComponents[g]
24-
= {{3, 4}, {2}, {1}}
24+
= {{4, 3}, {2}, {1}}
2525
2626
>> WeaklyConnectedComponents[g]
2727
= {{1, 2, 3, 4}}

pymathics/graph/properties.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ class SimpleGraphQ(_NetworkXBuiltin):
436436
summary_text = "test if a graph is simple (not multigraph)"
437437

438438
def eval(self, graph, expression, evaluation, options):
439-
"LoopFreeGraphQ[graph_, OptionsPattern[LoopFreeGraphQ]]"
439+
"SimpleGraphQ[graph_, OptionsPattern[LoopFreeGraphQ]]"
440440
graph = self._build_graph(graph, evaluation, options, expression, quiet=True)
441441
if graph:
442442
if graph.empty():

0 commit comments

Comments
 (0)