You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/graphs_extensions/metagraphs.jl
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,9 @@ function _add_edge!(
63
63
) where {T<:Integer,W<:Union{<:Real,Nothing}}
64
64
(isnothing(weight) || weight ==1.0) ||
65
65
@warn"Trying to add a weighted edge to an unweighted graph of type $(typeof(g)). Weight $weight will be ignored."
66
-
returnadd_edge!(g, src, dst, Dict(Symbol(pair.first) => pair.second for pair inpairs(metadata) )) #Symbol(string(key)) => value for (key, value) in pairs(metadata)
66
+
returnadd_edge!(
67
+
g, src, dst, Dict(Symbol(pair.first) => pair.second for pair inpairs(metadata))
68
+
) #Symbol(string(key)) => value for (key, value) in pairs(metadata)
0 commit comments