From c0d220894adeef4a49578eb832557e3912889e55 Mon Sep 17 00:00:00 2001 From: Joseph Tindall <51231103+JoeyT1994@users.noreply.github.com> Date: Tue, 9 Jan 2024 16:44:27 -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 ce74293..daba944 100644 --- a/src/Graphs/partitionedgraphs/abstractpartitionedgraph.jl +++ b/src/Graphs/partitionedgraphs/abstractpartitionedgraph.jl @@ -101,7 +101,8 @@ function add_vertex!( add_vertex!(unpartitioned_graph(pg), vertex) add_vertex!(partitioned_graph(pg), parent(partition_vertex)) - return insert_to_vertex_map!(pg, vertex, partition_vertex) + insert_to_vertex_map!(pg, vertex, partition_vertex) + return pg end function add_vertices!(