Boost logo

Boost-Commit :

From: dgregor_at_[hidden]
Date: 2008-04-29 14:34:28


Author: dgregor
Date: 2008-04-29 14:34:28 EDT (Tue, 29 Apr 2008)
New Revision: 44891
URL: http://svn.boost.org/trac/boost/changeset/44891

Log:
Correct erroneous call to is_reachable from is_connected. Fixes #870
Text files modified:
   trunk/boost/graph/graph_utility.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/graph/graph_utility.hpp
==============================================================================
--- trunk/boost/graph/graph_utility.hpp (original)
+++ trunk/boost/graph/graph_utility.hpp 2008-04-29 14:34:28 EDT (Tue, 29 Apr 2008)
@@ -385,7 +385,7 @@
         if (*ui != *vi) {
           for (tie(ci, ci_end) = vertices(g); ci != ci_end; ++ci)
             put(color, *ci, Color::white());
- if (! is_reachable(*ui, *vi, color))
+ if (! is_reachable(*ui, *vi, g, color))
             return false;
         }
     return true;


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