Boost logo

Boost-Commit :

From: dgregor_at_[hidden]
Date: 2007-04-09 08:52:31


Author: dgregor
Date: 2007-04-09 08:52:30 EDT (Mon, 09 Apr 2007)
New Revision: 34522
URL: https://svn.boost.org/trac/boost/changeset/34522

Log:
Fix call to is_reachable. Closes #870
Text files modified:
   devel/boost/graph/graph_utility.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: devel/boost/graph/graph_utility.hpp
==============================================================================
--- devel/boost/graph/graph_utility.hpp (original)
+++ devel/boost/graph/graph_utility.hpp 2007-04-09 08:52:30 EDT (Mon, 09 Apr 2007)
@@ -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