[Lemon-commits] [lemon_svn] deba: r2608 - hugo/trunk/lemon

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 20:53:52 CET 2006


Author: deba
Date: Mon Mar  6 10:38:19 2006
New Revision: 2608

Modified:
   hugo/trunk/lemon/hypercube_graph.h

Log:
Bugfix in the hyper map



Modified: hugo/trunk/lemon/hypercube_graph.h
==============================================================================
--- hugo/trunk/lemon/hypercube_graph.h	(original)
+++ hugo/trunk/lemon/hypercube_graph.h	Mon Mar  6 10:38:19 2006
@@ -25,6 +25,7 @@
 #include <lemon/bits/utility.h>
 #include <lemon/error.h>
 
+#include <lemon/bits/base_extender.h>
 #include <lemon/bits/graph_extender.h>
 
 ///\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;



More information about the Lemon-commits mailing list