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 8186a30 commit 3bb8daeCopy full SHA for 3bb8dae
src/StaticGraphs.jl
@@ -73,7 +73,7 @@ end
73
end
74
75
nv(g::AbstractStaticGraph{T, U}) where T where U = T(length(g.f_ind) - 1)
76
-vertices(g::AbstractStaticGraph{T, U}) where T where U = one(T):nv(g)
+vertices(g::AbstractStaticGraph{T, U}) where T where U = Base.OneTo(nv(g))
77
78
has_edge(g::AbstractStaticGraph, e::AbstractStaticEdge) =
79
insorted(dst(e), outneighbors(g, src(e)))
0 commit comments