summaryrefslogtreecommitdiff
path: root/networkx/linalg/attrmatrix.py
diff options
context:
space:
mode:
Diffstat (limited to 'networkx/linalg/attrmatrix.py')
-rw-r--r--networkx/linalg/attrmatrix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/networkx/linalg/attrmatrix.py b/networkx/linalg/attrmatrix.py
index ace7144e..d2029996 100644
--- a/networkx/linalg/attrmatrix.py
+++ b/networkx/linalg/attrmatrix.py
@@ -326,7 +326,7 @@ def attr_sparse_matrix(
edge_attr : str, optional
Each element of the matrix represents a running total of the
specified edge attribute for edges whose node attributes correspond
- to the rows/cols of the matirx. The attribute must be present for
+ to the rows/cols of the matrix. The attribute must be present for
all edges in the graph. If no attribute is specified, then we
just count the number of edges whose node attributes correspond
to the matrix element.