From 66cd415568e26ade0704326484bdcb4ce12ff4b5 Mon Sep 17 00:00:00 2001 From: Jeremiah Willcock Date: Sat, 19 Feb 2011 04:17:48 +0000 Subject: [PATCH] Fixed typo as suggested by Shaun Jackman [SVN r69021] --- include/boost/graph/transitive_reduction.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/graph/transitive_reduction.hpp b/include/boost/graph/transitive_reduction.hpp index 44dfee98..f7cb34b8 100644 --- a/include/boost/graph/transitive_reduction.hpp +++ b/include/boost/graph/transitive_reduction.hpp @@ -99,7 +99,7 @@ transitive_reduction(const Graph& g, GraphTR& tr, { //and run through all vertices in topological order typename std::vector::reverse_iterator - rit = topo_order.rbegin(); + rit = topo_order.rbegin(), rend = topo_order.rend(); for(; rit != rend; ++rit ) { //looking if they are successors of *it