lemon/pairing_heap.h
changeset 702 bdc7dfc8c054
parent 701 d1a9224f1e30
child 703 bb3392fe91f2
equal deleted inserted replaced
0:99bc831e6153 1:0c13174b961c
   264 
   264 
   265       if ( 0==num_child ) {
   265       if ( 0==num_child ) {
   266         minimum = container[minimum].child;
   266         minimum = container[minimum].child;
   267       }
   267       }
   268 
   268 
       
   269       if (minimum >= 0) container[minimum].left_child = false;
       
   270 
   269       --num_items;
   271       --num_items;
   270     }
   272     }
   271 
   273 
   272     /// \brief Deletes \c item from the heap.
   274     /// \brief Deletes \c item from the heap.
   273     ///
   275     ///