From 0ec513eab103ffe09cabb07d75fa6bf72a593ed7 Mon Sep 17 00:00:00 2001 From: Jeremiah Willcock Date: Sat, 4 Dec 2010 20:51:15 +0000 Subject: [PATCH] Merged r67014 from trunk [SVN r67015] --- include/boost/graph/stoer_wagner_min_cut.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/graph/stoer_wagner_min_cut.hpp b/include/boost/graph/stoer_wagner_min_cut.hpp index 9cd2d0da..39375467 100644 --- a/include/boost/graph/stoer_wagner_min_cut.hpp +++ b/include/boost/graph/stoer_wagner_min_cut.hpp @@ -74,7 +74,8 @@ namespace boost { assert(pq.size() >= 2); - vertex_descriptor s, t; + vertex_descriptor s = boost::graph_traits::null_vertex(); + vertex_descriptor t = boost::graph_traits::null_vertex(); weight_type w; while (!pq.empty()) { // while PQ \neq {} do const vertex_descriptor u = pq.top(); // u = extractmax(PQ)