Modify

Opened 7 years ago

Closed 7 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@…> 7 years ago.
patch to fix clustering_coefficient.hpp

Download all attachments as: .zip

Change History (2)

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

patch to fix clustering_coefficient.hpp

comment:1 Changed 7 years ago by Jeremiah Willcock

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Andrew Sutton.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.