[Boost-bugs] [Boost C++ Libraries] #7773: labeled_graph, inserted_labeled_vertex does not add property to the graph

Subject: [Boost-bugs] [Boost C++ Libraries] #7773: labeled_graph, inserted_labeled_vertex does not add property to the graph
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-12-07 16:47:48


#7773: labeled_graph, inserted_labeled_vertex does not add property to the graph
--------------------------------+-------------------------------------------
 Reporter: kikohs.x@… | Owner: jewillco
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: graph
  Version: Boost 1.52.0 | Severity: Problem
 Keywords: |
--------------------------------+-------------------------------------------
 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

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7773>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC