src/listmerger/heap.cc
bool hasRightChildInHeap(unsigned nodeIndex, unsigned size){

  if (nodeIndex*2+2 >= size)
    return false;
  else
    return true;
  

}
/* Test if the node has
   the right child in heap
*/
Test if the node has
the right child in heap
Test if the node has the right child in heap
bool hasRightChildInHeap(unsigned nodeIndex, unsigned size){
  if (nodeIndex*2+2 >= size)
    return false;
  else
    return true;
}
bool hasRightChildInHeap ( unsigned nodeIndex , unsigned size ) { if ( nodeIndex * 2 + 2 >= size ) return false ; else return true ; }
Test if the node has
the right child in heap
Test if the node has the right child in heap