Bug fix
authordeba
Mon, 06 Feb 2006 17:00:41 +0000
changeset 1963f1ace6d02a32
parent 1962 c1c3a0fae8a1
child 1964 df0b07457083
Bug fix
lemon/hypercube_graph.h
     1.1 --- a/lemon/hypercube_graph.h	Mon Feb 06 16:58:39 2006 +0000
     1.2 +++ b/lemon/hypercube_graph.h	Mon Feb 06 17:00:41 2006 +0000
     1.3 @@ -27,7 +27,7 @@
     1.4  
     1.5  #include <lemon/bits/iterable_graph_extender.h>
     1.6  #include <lemon/bits/alteration_notifier.h>
     1.7 -#include <lemon/bits/default_map.h>
     1.8 +#include <lemon/bits/static_map.h>
     1.9  #include <lemon/bits/graph_extender.h>
    1.10  
    1.11  ///\ingroup graphs
    1.12 @@ -312,7 +312,7 @@
    1.13        HyperMap(const Graph& graph, It begin, It end, 
    1.14  		   T fv = 0.0, const BF& bf = BF()) 
    1.15  	: _graph(graph), _values(begin, end), _first_value(fv), _bin_func(bf) {
    1.16 -	LEMON_ASSERT(_values.size() != graph.dimension(), 
    1.17 +	LEMON_ASSERT(_values.size() == graph.dimension(), 
    1.18  		     "Wrong size of dimension");
    1.19        }
    1.20