mirror of
https://github.com/boostorg/graph.git
synced 2025-05-09 23:14:00 +00:00
Fix comments for degree functions
This commit is contained in:
parent
b0be1f7087
commit
50d26818e0
@ -827,7 +827,7 @@ typename adjacency_matrix< D, VP, EP, GP, A >::degree_size_type in_degree(
|
||||
return n;
|
||||
}
|
||||
|
||||
// degree
|
||||
// O(N)
|
||||
template < typename VP, typename EP, typename GP, typename A >
|
||||
typename adjacency_matrix< directedS, VP, EP, GP, A >::degree_size_type
|
||||
degree(
|
||||
@ -837,6 +837,7 @@ degree(
|
||||
return in_degree(u, g) + out_degree(u, g);
|
||||
}
|
||||
|
||||
// O(N)
|
||||
template < typename VP, typename EP, typename GP, typename A >
|
||||
typename adjacency_matrix< undirectedS, VP, EP, GP, A >::degree_size_type
|
||||
degree(
|
||||
|
Loading…
x
Reference in New Issue
Block a user