Bug fix in countANodes/countBNodes
authordeba
Mon, 04 Sep 2006 11:01:56 +0000
changeset 2186284a9ad118dd
parent 2185 e2bf51eab7f7
child 2187 a54a2dd03f03
Bug fix in countANodes/countBNodes
lemon/graph_utils.h
     1.1 --- a/lemon/graph_utils.h	Wed Aug 30 16:08:03 2006 +0000
     1.2 +++ b/lemon/graph_utils.h	Mon Sep 04 11:01:56 2006 +0000
     1.3 @@ -171,7 +171,7 @@
     1.4        enable_if<typename Graph::NodeNumTag, void>::type> 
     1.5      {
     1.6        static int count(const Graph &g) {
     1.7 -        return g.nodeNum();
     1.8 +        return g.aNodeNum();
     1.9        }
    1.10      };    
    1.11    }
    1.12 @@ -204,7 +204,7 @@
    1.13        enable_if<typename Graph::NodeNumTag, void>::type> 
    1.14      {
    1.15        static int count(const Graph &g) {
    1.16 -        return g.nodeNum();
    1.17 +        return g.bNodeNum();
    1.18        }
    1.19      };    
    1.20    }