state_enum change
authorjacint
Wed, 24 Mar 2004 09:36:21 +0000
changeset 2414acba8684811
parent 240 4a1d2e642552
child 242 b255f25ad394
state_enum change
src/work/jacint/fib_heap.h
     1.1 --- a/src/work/jacint/fib_heap.h	Tue Mar 23 17:28:47 2004 +0000
     1.2 +++ b/src/work/jacint/fib_heap.h	Wed Mar 24 09:36:21 2004 +0000
     1.3 @@ -226,8 +226,8 @@
     1.4      state_enum state(const Item &it) const {
     1.5        int i=iimap[it];
     1.6        if( i>=0 ) {
     1.7 -	if ( container[i].in ) i=0;
     1.8 -	else i=-2; 
     1.9 +	if ( container[i].in ) i=IN_HEAP;
    1.10 +	else i=POST_HEAP; 
    1.11        }
    1.12        return state_enum(i);
    1.13      }