Opened 9 years ago

Last modified 6 years ago

#9808 new Bugs

bc_clustering: "has no edges" identifier not found

Reported by: Łukasz Ilnicki <lukaszi89@…> Owned by: Jeremiah Willcock
Milestone: To Be Determined Component: graph
Version: Boost 1.55.0 Severity: Problem
Keywords: bc_clustering Cc:

Description

Function has_no_edges(g) is behind graph namespace. Need to attach graph:: indicator before calling this function in bc_clustering.hpp.

Original library code:

 if (has_no_edges(g)) return;
(...)
  do {
(...)
  } while (!is_done && !has_no_edges(g));

Modified code:

 if (graph::has_no_edges(g)) return;
(...)
  do {
(...)
  } while (!is_done && !graph::has_no_edges(g));

Change History (1)

comment:1 by Murray Cumming <murrayc@…>, 6 years ago

That code is itself in the graph namespace, so that shouldn't be necessary: https://github.com/boostorg/graph/blob/develop/include/boost/graph/bc_clustering.hpp#L125

Maybe you could mention the compiler and platform and show the actual compiler error.

Note: See TracTickets for help on using tickets.