Skip to content

Commit 7d645f9

Browse files
committed
2 parents fc22225 + e886cc0 commit 7d645f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/graphs.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ Return true if the vertex has been added, false incase the label already exists
5353
function add_vertex!(g::MetaGraph, label, val)
5454
if haskey(g,label)
5555
return false
56+
end
5657
added = add_vertex!(g.graph)
5758
if added
5859
v = nv(g)

0 commit comments

Comments
 (0)