summaryrefslogtreecommitdiff
path: root/boost/graph/graph_concepts.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/graph/graph_concepts.hpp')
-rw-r--r--boost/graph/graph_concepts.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/boost/graph/graph_concepts.hpp b/boost/graph/graph_concepts.hpp
index 875f81848b..3b873a8233 100644
--- a/boost/graph/graph_concepts.hpp
+++ b/boost/graph/graph_concepts.hpp
@@ -128,12 +128,14 @@ typename T::ThereReallyIsNoMemberByThisNameInT vertices(T const&);
p = in_edges(v, g);
n = in_degree(v, g);
+ n = degree(v, g);
e = *p.first;
const_constraints(g);
}
void const_constraints(const G& cg) {
p = in_edges(v, cg);
n = in_degree(v, cg);
+ n = degree(v, cg);
e = *p.first;
}
std::pair<in_edge_iterator, in_edge_iterator> p;