summaryrefslogtreecommitdiff
path: root/networkx/algorithms/structuralholes.py
diff options
context:
space:
mode:
Diffstat (limited to 'networkx/algorithms/structuralholes.py')
-rw-r--r--networkx/algorithms/structuralholes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/networkx/algorithms/structuralholes.py b/networkx/algorithms/structuralholes.py
index 9762587e..417ba028 100644
--- a/networkx/algorithms/structuralholes.py
+++ b/networkx/algorithms/structuralholes.py
@@ -5,7 +5,7 @@ import networkx as nx
__all__ = ["constraint", "local_constraint", "effective_size"]
-@nx.dispatch("mutual_weight")
+@nx.dispatch
def mutual_weight(G, u, v, weight=None):
"""Returns the sum of the weights of the edge from `u` to `v` and
the edge from `v` to `u` in `G`.