[Lemon-commits] [lemon_svn] jacint: r339 - hugo/trunk/src/work/jacint

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


Author: jacint
Date: Wed Mar 24 10:36:21 2004
New Revision: 339

Modified:
   hugo/trunk/src/work/jacint/fib_heap.h

Log:
state_enum change


Modified: hugo/trunk/src/work/jacint/fib_heap.h
==============================================================================
--- hugo/trunk/src/work/jacint/fib_heap.h	(original)
+++ hugo/trunk/src/work/jacint/fib_heap.h	Wed Mar 24 10:36:21 2004
@@ -226,8 +226,8 @@
     state_enum state(const Item &it) const {
       int i=iimap[it];
       if( i>=0 ) {
-	if ( container[i].in ) i=0;
-	else i=-2; 
+	if ( container[i].in ) i=IN_HEAP;
+	else i=POST_HEAP; 
       }
       return state_enum(i);
     }



More information about the Lemon-commits mailing list