summaryrefslogtreecommitdiff
path: root/networkx/algorithms/triads.py
diff options
context:
space:
mode:
Diffstat (limited to 'networkx/algorithms/triads.py')
-rw-r--r--networkx/algorithms/triads.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/networkx/algorithms/triads.py b/networkx/algorithms/triads.py
index 0042f5c3..316643ea 100644
--- a/networkx/algorithms/triads.py
+++ b/networkx/algorithms/triads.py
@@ -275,7 +275,7 @@ def triadic_census(G, nodelist=None):
return census
-@nx.dispatch("is_triad")
+@nx.dispatch()
def is_triad(G):
"""Returns True if the graph G is a triad, else False.