# HG changeset patch # User deba # Date 1139245241 0 # Node ID f1ace6d02a322e49d7c5922f4bd6f89101904062 # Parent c1c3a0fae8a1ae55009dacee04dbc2c3e82bd0aa Bug fix diff -r c1c3a0fae8a1 -r f1ace6d02a32 lemon/hypercube_graph.h --- a/lemon/hypercube_graph.h Mon Feb 06 16:58:39 2006 +0000 +++ b/lemon/hypercube_graph.h Mon Feb 06 17:00:41 2006 +0000 @@ -27,7 +27,7 @@ #include #include -#include +#include #include ///\ingroup graphs @@ -312,7 +312,7 @@ HyperMap(const Graph& graph, It begin, It end, T fv = 0.0, const BF& bf = BF()) : _graph(graph), _values(begin, end), _first_value(fv), _bin_func(bf) { - LEMON_ASSERT(_values.size() != graph.dimension(), + LEMON_ASSERT(_values.size() == graph.dimension(), "Wrong size of dimension"); }