From 134d39c56c76e10c28887e93bc030d05b05dabae Mon Sep 17 00:00:00 2001 From: Joseph Tindall <51231103+JoeyT1994@users.noreply.github.com> Date: Tue, 9 Jan 2024 16:44:35 -0500 Subject: [PATCH] Update src/Graphs/partitionedgraphs/abstractpartitionedgraph.jl Co-authored-by: Matt Fishman --- src/Graphs/partitionedgraphs/abstractpartitionedgraph.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Graphs/partitionedgraphs/abstractpartitionedgraph.jl b/src/Graphs/partitionedgraphs/abstractpartitionedgraph.jl index daba944..9a748e7 100644 --- a/src/Graphs/partitionedgraphs/abstractpartitionedgraph.jl +++ b/src/Graphs/partitionedgraphs/abstractpartitionedgraph.jl @@ -121,7 +121,8 @@ end function add_vertices!( pg::AbstractPartitionedGraph, vertices::Vector, partition_vertex::AbstractPartitionVertex ) - return add_vertices!(pg, vertices, fill(partition_vertex, length(vertices))) + add_vertices!(pg, vertices, fill(partition_vertex, length(vertices))) + return pg end function rem_vertex!(pg::AbstractPartitionedGraph, vertex)