diff options
Diffstat (limited to 'networkx/algorithms/cluster.py')
-rw-r--r-- | networkx/algorithms/cluster.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/networkx/algorithms/cluster.py b/networkx/algorithms/cluster.py index 6df4ce7f..159aba78 100644 --- a/networkx/algorithms/cluster.py +++ b/networkx/algorithms/cluster.py @@ -16,6 +16,7 @@ __all__ = [ ] +@nx.dispatch("triangles") @not_implemented_for("directed") def triangles(G, nodes=None): """Compute the number of triangles. |