Opened 10 years ago

Closed 10 years ago

#7773 closed Bugs (fixed)

labeled_graph, inserted_labeled_vertex does not add property to the graph

Reported by: kikohs.x@… Owned by: Jeremiah Willcock
Milestone: To Be Determined Component: graph
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc:

Description

When you add a node to a labeled graph with a vertex_property, it is not added in the graph.

Line 143 in labeled_graph.hpp.

a fix could be:

line 152:

x.first->second = add_vertex(g); g[x.first->second] = p; add property to graph

Change History (1)

comment:1 by Jeremiah Willcock, 10 years ago

Resolution: fixed
Status: newclosed

(In [81771]) Fixed adding properties in labeled_graph; fixes #7773

Note: See TracTickets for help on using tickets.