|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r66707 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2010-11-23 20:23:45
Author: jewillco
Date: 2010-11-23 20:23:42 EST (Tue, 23 Nov 2010)
New Revision: 66707
URL: http://svn.boost.org/trac/boost/changeset/66707
Log:
Applied patch from #4887 -- thank you for the bug report and patch; fixes #4887
Text files modified:
trunk/boost/graph/clustering_coefficient.hpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/boost/graph/clustering_coefficient.hpp
==============================================================================
--- trunk/boost/graph/clustering_coefficient.hpp (original)
+++ trunk/boost/graph/clustering_coefficient.hpp 2010-11-23 20:23:42 EST (Tue, 23 Nov 2010)
@@ -37,8 +37,8 @@
template <class Graph>
inline typename graph_traits<Graph>::degree_size_type
count_edges(const Graph& g,
- typename Graph::vertex_descriptor u,
- typename Graph::vertex_descriptor v,
+ typename graph_traits<Graph>::vertex_descriptor u,
+ typename graph_traits<Graph>::vertex_descriptor v,
directed_tag)
{
@@ -51,8 +51,8 @@
template <class Graph>
inline typename graph_traits<Graph>::degree_size_type
count_edges(const Graph& g,
- typename Graph::vertex_descriptor u,
- typename Graph::vertex_descriptor v,
+ typename graph_traits<Graph>::vertex_descriptor u,
+ typename graph_traits<Graph>::vertex_descriptor v,
undirected_tag)
{
function_requires< AdjacencyMatrixConcept<Graph> >();
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk