|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r61326 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2010-04-16 15:49:49
Author: jewillco
Date: 2010-04-16 15:49:48 EDT (Fri, 16 Apr 2010)
New Revision: 61326
URL: http://svn.boost.org/trac/boost/changeset/61326
Log:
Fixed wrong number of arguments in call to target() in edge()
Text files modified:
trunk/boost/graph/compressed_sparse_row_graph.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/graph/compressed_sparse_row_graph.hpp
==============================================================================
--- trunk/boost/graph/compressed_sparse_row_graph.hpp (original)
+++ trunk/boost/graph/compressed_sparse_row_graph.hpp 2010-04-16 15:49:48 EDT (Fri, 16 Apr 2010)
@@ -1318,7 +1318,7 @@
typedef typename BOOST_CSR_GRAPH_TYPE::out_edge_iterator out_edge_iter;
std::pair<out_edge_iter, out_edge_iter> range = out_edges(i, g);
for (; range.first != range.second; ++range.first) {
- if (target(*range.first) == j)
+ if (target(*range.first, g) == j)
return std::make_pair(*range.first, true);
}
return std::make_pair(typename BOOST_CSR_GRAPH_TYPE::edge_descriptor(),
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