Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86469 - trunk/boost/graph/detail
From: jewillco_at_[hidden]
Date: 2013-10-26 18:57:10


Author: jewillco
Date: 2013-10-26 18:57:10 EDT (Sat, 26 Oct 2013)
New Revision: 86469
URL: http://svn.boost.org/trac/boost/changeset/86469

Log:
Fixed edge_range bug from http://stackoverflow.com/questions/19223692/boost-graph-library-directed-multigraph-edge-range-bug?rq=1

Text files modified:
   trunk/boost/graph/detail/adjacency_list.hpp | 3 +--
   1 files changed, 1 insertions(+), 2 deletions(-)

Modified: trunk/boost/graph/detail/adjacency_list.hpp
==============================================================================
--- trunk/boost/graph/detail/adjacency_list.hpp Sat Oct 26 18:49:17 2013 (r86468)
+++ trunk/boost/graph/detail/adjacency_list.hpp 2013-10-26 18:57:10 EDT (Sat, 26 Oct 2013) (r86469)
@@ -1610,8 +1610,7 @@
       typename Config::OutEdgeList::iterator first, last;
       typename Config::EdgeContainer fake_edge_container;
       boost::tie(first, last) = graph_detail::
- equal_range(el, StoredEdge(v, fake_edge_container.end(),
- &fake_edge_container));
+ equal_range(el, StoredEdge(v));
       return std::make_pair(out_edge_iterator(first, u),
                             out_edge_iterator(last, u));
     }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk