mirror of
https://github.com/boostorg/graph.git
synced 2026-01-31 20:22:09 +00:00
fixed degree()
[SVN r7907]
This commit is contained in:
@@ -799,8 +799,10 @@ namespace boost {
|
||||
template <class Config>
|
||||
inline typename Config::degree_size_type
|
||||
degree(typename Config::vertex_descriptor u,
|
||||
const undirected_graph_helper<Config>& g)
|
||||
const undirected_graph_helper<Config>& g_)
|
||||
{
|
||||
typedef typename Config::graph_type Graph;
|
||||
const Graph& g = static_cast<const Graph&>(g_);
|
||||
return out_degree(u, g);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user