Skip to content

Commit 68248ab

Browse files
authored
Update staticdigraph.jl
1 parent 52dc3ac commit 68248ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/staticdigraph.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,5 @@ outdegree(g::StaticDiGraph) = [outdegree(g, v) for v in vertices(g)]
8484
Return `true` if `g` is a directed graph.
8585
"""
8686
is_directed(::Type{StaticDiGraph}) = true
87-
is_directed(::Type{StaticDiGraph{T}}) where T = true
88-
is_directed(g::StaticDiGraph) = true
87+
is_directed(::Type{StaticDiGraph{T, U}}) where T where U = true
88+
is_directed(g::StaticDiGraph) = true

0 commit comments

Comments
 (0)