Modify

Ticket #4887 (closed Bugs: fixed)

Opened 3 years ago

Last modified 3 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:

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

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

Change History

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

patch to fix clustering_coefficient.hpp

comment:1 Changed 3 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

View

Add a comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.