Skip to content

Commit 6a8aa74

Browse files
thchrgdalle
andauthored
Apply suggestions from code review
Co-authored-by: Guillaume Dalle <[email protected]>
1 parent dda535c commit 6a8aa74

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/graphs.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ end
9090
Add a vertex to MetaGraph `meta_graph` with label `label` having metadata `data`.
9191
If the `VertexData` type of `meta_graph` is `Nothing`, `data` can be omitted.
9292
93-
Return true if the vertex has been added, false incase the label already exists or vertex
94-
was not added.
93+
Return true if the vertex has been added, false in case the label already exists or vertex was not added.
9594
"""
9695
function Graphs.add_vertex!(meta_graph::MetaGraph, label, data)
9796
if haskey(meta_graph, label)
@@ -134,7 +133,6 @@ function Graphs.add_edge!(meta_graph::MetaGraph{<:Any, <:Any, <:Any, <:Any, Noth
134133
Graphs.add_edge!(meta_graph, label_1, label_2, nothing)
135134
end
136135

137-
138136
## Remove vertex
139137

140138
function _rem_vertex!(meta_graph::MetaGraph, label, code)

0 commit comments

Comments
 (0)