Opened 12 years ago

Closed 12 years ago

#4887 closed Bugs (fixed)

BGL's clustering_coefficient doesn't use graph_traits

Reported by: spenthil@… Owned by: Andrew Sutton
Milestone: To Be Determined Component: graph
Version: Boost 1.45.0 Severity: Problem
Keywords: Cc:

Description

BGL's clustering_coefficient doesn't use graph_traits. Results in an error including something like:

"error: no matching function for call to 'count_edges("

Pretty sure its because I am wrapping a custom graph type. Regardless, I think it should be using graph_traits in count_edges.

--
Senthil Palanisami

Attachments (1)

clustering_coefficient.patch (1.1 KB ) - added by Senthil Palanisami <spenthil@…> 12 years ago.
patch to fix clustering_coefficient.hpp

Download all attachments as: .zip

Change History (2)

by Senthil Palanisami <spenthil@…>, 12 years ago

patch to fix clustering_coefficient.hpp

comment:1 by Jeremiah Willcock, 12 years ago

Resolution: fixed
Status: newclosed

(In [66707]) Applied patch from #4887 -- thank you for the bug report and patch; fixes #4887

Note: See TracTickets for help on using tickets.