Skip to content

Commit 4815f38

Browse files
committed
misformat on purpose
1 parent 4bafe28 commit 4815f38

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/core.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ julia> is_ordered(first(edges(g)))
2323
false
2424
```
2525
"""
26-
is_ordered(e::AbstractEdge) = src(e) <= dst(e)
26+
is_ordered(e::AbstractEdge ) = src(e) <= dst(e)
2727

2828
"""
2929
add_vertices!(g, n)
@@ -48,7 +48,7 @@ add_vertices!(g::AbstractGraph, n::Integer) = sum([add_vertex!(g) for i in 1:n])
4848
indegree(g[, v])
4949
5050
Return a vector containing the indegrees of every vertex of the graph `g`, where
51-
the indegree of a vertex is defined as the number of edges which end at that
51+
the indegree of a vertex is defined as the number of edges which end at that
5252
vertex. If `v` is specified and is a single vertex, only return the indegree of
5353
`v`. If `v` is specified and is a vector of vertices, only return the indegrees
5454
of the vertices in `v`.
@@ -85,7 +85,7 @@ indegree(g::AbstractGraph, vs=vertices(g)) = [indegree(g, x) for x in vs]
8585
outdegree(g[, v])
8686
8787
Return a vector containing the outdegrees of every vertex of the graph `g`, where
88-
the outdegree of a vertex is defined as the number of edges which start at that
88+
the outdegree of a vertex is defined as the number of edges which start at that
8989
vertex. If `v` is specified and is a single vertex, only return the outdegree of
9090
`v`. If `v` is specified and is a vector of vertices, only return the outdegrees
9191
of the vertices in `v`.
@@ -124,7 +124,7 @@ outdegree(g::AbstractGraph, vs=vertices(g)) = [outdegree(g, x) for x in vs]
124124
Return a vector containing the degrees of every vertex of the graph `g`, where
125125
the degree of a vertex is defined as the number of edges which start or end at
126126
that vertex. For directed graphs, the degree of a vertex is equal to the sum of
127-
its indegree and outdegree. If `v` is specified and is a single vertex, only
127+
its indegree and outdegree. If `v` is specified and is a single vertex, only
128128
return the degree of `v`. If `v` is specified and is a vector of vertices, only
129129
return the degrees of the vertices in `v`.
130130

0 commit comments

Comments
 (0)