Bug fix
authordeba
Mon, 15 May 2006 09:44:35 +0000
changeset 2082626939628b4a
parent 2081 94a7deb46c07
child 2083 f50c8c191cbd
Bug fix
lemon/topology.h
     1.1 --- a/lemon/topology.h	Fri May 12 15:29:42 2006 +0000
     1.2 +++ b/lemon/topology.h	Mon May 15 09:44:35 2006 +0000
     1.3 @@ -245,11 +245,12 @@
     1.4    template <typename Graph>
     1.5    bool stronglyConnected(const Graph& graph) {
     1.6      checkConcept<concept::StaticGraph, Graph>();
     1.7 -    if (NodeIt(graph) == INVALID) return true;
     1.8  
     1.9      typedef typename Graph::Node Node;
    1.10      typedef typename Graph::NodeIt NodeIt;
    1.11  
    1.12 +    if (NodeIt(graph) == INVALID) return true;
    1.13 +
    1.14      using namespace _topology_bits;
    1.15  
    1.16      typedef DfsVisitor<Graph> Visitor;