Ticket #4887: clustering_coefficient.patch

File clustering_coefficient.patch, 1.1 KB (added by Senthil Palanisami <spenthil@…>, 12 years ago)

patch to fix clustering_coefficient.hpp

  • boost/graph/clustering_coefficient.hpp

    old new  
    3737    template <class Graph>
    3838    inline typename graph_traits<Graph>::degree_size_type
    3939    count_edges(const Graph& g,
    40                 typename Graph::vertex_descriptor u,
    41                 typename Graph::vertex_descriptor v,
     40                typename graph_traits<Graph>::vertex_descriptor u,
     41                typename graph_traits<Graph>::vertex_descriptor v,
    4242                directed_tag)
    4343
    4444    {
     
    5151    template <class Graph>
    5252    inline typename graph_traits<Graph>::degree_size_type
    5353    count_edges(const Graph& g,
    54                 typename Graph::vertex_descriptor u,
    55                 typename Graph::vertex_descriptor v,
     54                typename graph_traits<Graph>::vertex_descriptor u,
     55                typename graph_traits<Graph>::vertex_descriptor v,
    5656                undirected_tag)
    5757    {
    5858        function_requires< AdjacencyMatrixConcept<Graph> >();