Ticket #4887 (closed Bugs: fixed)

Opened 7 years ago

Last modified 7 years ago

BGL's clustering_coefficient doesn't use graph_traits

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


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


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

Change History

Changed 7 years ago by Senthil Palanisami <spenthil@…>

patch to fix clustering_coefficient.hpp

comment:1 Changed 7 years ago by jewillco

  • Status changed from new to closed
  • Resolution set to fixed

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


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.