Re: [Boost-bugs] [Boost C++ Libraries] #8192: dag_shortest_paths or make_reverse_graph problem since 1.48

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8192: dag_shortest_paths or make_reverse_graph problem since 1.48
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-27 22:31:22


#8192: dag_shortest_paths or make_reverse_graph problem since 1.48
----------------------------------------------+-----------------------------
  Reporter: JB Mouret <mouret@…> | Owner: jewillco
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: graph
   Version: Boost 1.48.0 | Severity: Regression
Resolution: fixed | Keywords:
----------------------------------------------+-----------------------------

Comment (by JB Mouret <mouret@…>):

 Thank you for the tip. This was a fast bug fix!

 Replying to [comment:2 jewillco]:
> In addition to the bug fix I just put in the trunk, the definition of
 `w_map` should be:
>
> {{{
> property_map<reverse_graph<graph_t>, edge_weight_t>::type w_map =
> get(edge_weight, make_reverse_graph(g));
> }}}
>
> Note that the code explicitly gets the property map type and the map
 itself from the reverse graph.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8192#comment:3>
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:12 UTC