We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc8d88b commit 02c5d0bCopy full SHA for 02c5d0b
src/graphs_extensions/simplevaluegraphs.jl
@@ -2,7 +2,7 @@ function __add_vertex!(
2
g::SimpleValueGraphs.AbstractValGraph{T}; metadata::Union{Tuple,NamedTuple}=NamedTuple()
3
) where {T<:Integer}
4
if isempty(metadata)
5
- add_vertex!(g)
+ add_vertex!(g, ())
6
else
7
add_vertex!(g, metadata)
8
end
0 commit comments