|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r56856 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2009-10-14 19:41:54
Author: jewillco
Date: 2009-10-14 19:41:53 EDT (Wed, 14 Oct 2009)
New Revision: 56856
URL: http://svn.boost.org/trac/boost/changeset/56856
Log:
Fixed numlocalverts bug
Text files modified:
trunk/boost/graph/compressed_sparse_row_graph.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 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 2009-10-14 19:41:53 EDT (Wed, 14 Oct 2009)
@@ -341,7 +341,7 @@
: m_property(prop)
{
m_forward.assign_from_sorted_edges(edge_begin, edge_end, identity_property_map(), keep_all(), numverts, numedges);
- inherited_vertex_properties::resize(numlocalverts);
+ inherited_vertex_properties::resize(numverts);
}
// From number of vertices and sorted list of edges (deprecated
@@ -355,7 +355,7 @@
: m_property(prop)
{
m_forward.assign_from_sorted_edges(edge_begin, edge_end, ep_iter, identity_property_map(), keep_all(), numverts, numedges);
- inherited_vertex_properties::resize(numlocalverts);
+ inherited_vertex_properties::resize(numverts);
}
#endif // BOOST_GRAPH_USE_OLD_CSR_INTERFACE
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