Branch: Tag:

2004-05-02

2004-05-02 20:20:17 by Martin Nilsson <mani@lysator.liu.se>

Move verify_heap to before the return.

Rev: lib/modules/ADT.pmod/Heap.pike:1.8

108:    if(num_values * 3 + 10 < sizeof(values))    values=values[..num_values+10];    } -  return ret; +     verify_heap(); -  +  return ret;   }      //! Returns the number of elements in the heap.