# HG changeset patch # User deba # Date 1141637899 0 # Node ID 2ba916d7aae314c4bbb9a11884024426f407557a # Parent b7a70cdb55209527d66eee3136b888adb09bc720 Bugfix in the hyper map diff -r b7a70cdb5520 -r 2ba916d7aae3 lemon/hypercube_graph.h --- a/lemon/hypercube_graph.h Fri Mar 03 21:49:39 2006 +0000 +++ b/lemon/hypercube_graph.h Mon Mar 06 09:38:19 2006 +0000 @@ -25,6 +25,7 @@ #include #include +#include #include ///\ingroup graphs @@ -318,7 +319,7 @@ int n = 0; while (id != 0) { if (id & 1) { - val = _bin_func(_values[n], _first_value); + val = _bin_func(val, _values[n]); } id >>= 1; ++n;