COIN-OR::LEMON - Graph Library

Changeset 1712:4fb435ad31cf in lemon-0.x


Ignore:
Timestamp:
10/06/05 11:58:21 (19 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2239
Message:

Little modifications

Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • lemon/graph_utils.h

    r1704 r1712  
    14011401
    14021402    void add(const Node& node) {
    1403       if (size(graph.id(node) + 1) > values.size()) {
     1403      if (size(graph.id(node) + 1) >= (int)values.size()) {
    14041404        values.resize(size(graph.id(node) + 1));       
    14051405      }
  • test/graph_test.cc

    r1435 r1712  
    88#include <lemon/smart_graph.h>
    99#include <lemon/full_graph.h>
     10#include <lemon/hypercube_graph.h>
    1011
    1112#include "test_tools.h"
     
    6061    checkConcept<StaticGraph, FullGraph >();
    6162  }
     63  { // checking full graph
     64    checkConcept<StaticGraph, HyperCubeGraph >();
     65  }
    6266
    6367  std::cout << __FILE__ ": All tests passed.\n";
Note: See TracChangeset for help on using the changeset viewer.