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
{{ message }}
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: src/MetaGraphs.jl
+1-5Lines changed: 1 addition & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -49,11 +49,7 @@ abstract type AbstractMetaGraph{T} <: AbstractGraph{T} end
49
49
50
50
functionshow(io::IO, g::AbstractMetaGraph)
51
51
dir =is_directed(g) ?"directed":"undirected"
52
-
ifnv(g) ==0
53
-
print(io, "empty $dir$(eltype(g)) metagraph with $(weighttype(g)) weights defined by :$(g.weightfield) (default weight $(g.defaultweight))")
54
-
else
55
-
print(io, "{$(nv(g)), $(ne(g))} $dir$(eltype(g)) metagraph with $(weighttype(g)) weights defined by :$(g.weightfield) (default weight $(g.defaultweight))")
56
-
end
52
+
print(io, "{$(nv(g)), $(ne(g))} $dir$(eltype(g)) metagraph with $(weighttype(g)) weights defined by :$(g.weightfield) (default weight $(g.defaultweight))")
0 commit comments