Browse Source

Heapify defs

avadapal 2 years ago
parent
commit
232cf19ae8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      heap.cpp

+ 2 - 0
heap.cpp

@@ -614,7 +614,9 @@ void Heap(MPCIO & mpcio,
         //  std::cout << "num_items " << tree.num_items << std::endl;
         tree.initialize_random(tio, yield);
               // tree.print_heap(tio, yield);
+        #ifdef HEAPIFY
         tree.heapify(tio, yield);
+        #endif
        //tree.print_heap(tio, yield);
 
         std::cout << "\n===== Heapify Stats =====\n";