Переглянути джерело

corrected the bug by deleted reset stats

avadapal 2 роки тому
батько
коміт
7768bee1a0
1 змінених файлів з 0 додано та 2 видалено
  1. 0 2
      heap.cpp

+ 0 - 2
heap.cpp

@@ -292,8 +292,6 @@ void verify_parent_children_heaps(MPCTIO tio, yield_t & yield, RegAS parent, Reg
 RegXS MinHeap::restore_heap_property(MPCIO & mpcio, MPCTIO tio, yield_t & yield, RegXS index) {
     RegAS smallest;
     auto HeapArray = oram.flat(tio, yield);
-    mpcio.reset_stats();
-    tio.reset_lamport();
     RegXS leftchildindex = index;
     leftchildindex = index << 1;
     RegXS rightchildindex;