avadapal il y a 2 ans
Parent
commit
232cf19ae8
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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";