Skip to content

Commit e886cc0

Browse files
authored
Corrected
1 parent 6f14133 commit e886cc0

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 g.haskey(label)
5555
return false
56+
end
5657
added = add_vertex!(g.graph)
5758
if added
5859
v = nv(g)

0 commit comments

Comments
 (0)