Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56016 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2009-09-04 10:54:25


Author: jewillco
Date: 2009-09-04 10:54:24 EDT (Fri, 04 Sep 2009)
New Revision: 56016
URL: http://svn.boost.org/trac/boost/changeset/56016

Log:
Added qualification to has_no_vertices in cuthill_mckee_ordering; fixes #3376
Text files modified:
   trunk/boost/graph/cuthill_mckee_ordering.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/graph/cuthill_mckee_ordering.hpp
==============================================================================
--- trunk/boost/graph/cuthill_mckee_ordering.hpp (original)
+++ trunk/boost/graph/cuthill_mckee_ordering.hpp 2009-09-04 10:54:24 EDT (Fri, 04 Sep 2009)
@@ -133,7 +133,7 @@
   cuthill_mckee_ordering(const Graph& G, OutputIterator permutation,
                          ColorMap color, DegreeMap degree)
   {
- if (has_no_vertices(G))
+ if (boost::graph::has_no_vertices(G))
       return permutation;
 
     typedef typename boost::graph_traits<Graph>::vertex_descriptor Vertex;
@@ -169,7 +169,7 @@
   cuthill_mckee_ordering(const Graph& G, OutputIterator permutation,
                          VertexIndexMap index_map)
   {
- if (has_no_vertices(G))
+ if (boost::graph::has_no_vertices(G))
       return permutation;
     
     typedef out_degree_property_map<Graph> DegreeMap;


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