summaryrefslogtreecommitdiff
path: root/networkx/algorithms/richclub.py
diff options
context:
space:
mode:
authorJarrod Millman <jarrod.millman@gmail.com>2019-10-18 20:56:41 -0700
committerJarrod Millman <jarrod.millman@gmail.com>2019-10-18 22:10:18 -0700
commit62d87e2f2650a9a6914308cee7c3ae3217b26aed (patch)
tree43765e4f569ed3414d9f9eed0391c496eff697a5 /networkx/algorithms/richclub.py
parentde45606980f02551c53d6c06a82f36ead69c9971 (diff)
downloadnetworkx-62d87e2f2650a9a6914308cee7c3ae3217b26aed.tar.gz
Use itertools accumulate
Diffstat (limited to 'networkx/algorithms/richclub.py')
-rw-r--r--networkx/algorithms/richclub.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/networkx/algorithms/richclub.py b/networkx/algorithms/richclub.py
index ae6435a6..6ec59f5b 100644
--- a/networkx/algorithms/richclub.py
+++ b/networkx/algorithms/richclub.py
@@ -11,7 +11,7 @@
"""Functions for computing rich-club coefficients."""
import networkx as nx
-from networkx.utils import accumulate
+from itertools import accumulate
from networkx.utils import not_implemented_for
__all__ = ['rich_club_coefficient']