From 41e5c5d045fe51c56be8a1e2dac23e80dc43f677 Mon Sep 17 00:00:00 2001 From: AntoineBut <90978814+AntoineBut@users.noreply.github.com> Date: Fri, 24 Oct 2025 17:11:50 +0200 Subject: [PATCH] Fix type in performance tip of inneighbors function --- src/simpleweighteddigraph.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simpleweighteddigraph.jl b/src/simpleweighteddigraph.jl index 7c41c26..0df0356 100644 --- a/src/simpleweighteddigraph.jl +++ b/src/simpleweighteddigraph.jl @@ -156,7 +156,7 @@ end Return the vector of inneighbors of vertex `v`. !!! tip "Performance" - This function is less efficient than `inneighbors` for directed weighted graphs (it allocates a new vector). + This function is less efficient than `outneighbors` for directed weighted graphs (it allocates a new vector). """ Graphs.inneighbors(g::SimpleWeightedDiGraph, v::Integer) = g.weights[v, :].nzind