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

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


Author: deba
Date: Mon Feb  6 18:00:41 2006
New Revision: 2539

Modified:
   hugo/trunk/lemon/hypercube_graph.h

Log:
Bug fix



Modified: hugo/trunk/lemon/hypercube_graph.h
==============================================================================
--- hugo/trunk/lemon/hypercube_graph.h	(original)
+++ hugo/trunk/lemon/hypercube_graph.h	Mon Feb  6 18:00:41 2006
@@ -27,7 +27,7 @@
 
 #include <lemon/bits/iterable_graph_extender.h>
 #include <lemon/bits/alteration_notifier.h>
-#include <lemon/bits/default_map.h>
+#include <lemon/bits/static_map.h>
 #include <lemon/bits/graph_extender.h>
 
 ///\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");
       }
 



More information about the Lemon-commits mailing list