Skip to content

Commit 7b0622a

Browse files
authored
Fix typo in performance tip of inneighbors function (#56)
1 parent 9962e89 commit 7b0622a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/simpleweighteddigraph.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ end
156156
Return the vector of inneighbors of vertex `v`.
157157
158158
!!! tip "Performance"
159-
This function is less efficient than `inneighbors` for directed weighted graphs (it allocates a new vector).
159+
This function is less efficient than `outneighbors` for directed weighted graphs (it allocates a new vector).
160160
"""
161161
Graphs.inneighbors(g::SimpleWeightedDiGraph, v::Integer) = g.weights[v, :].nzind
162162

0 commit comments

Comments
 (0)