Browse Source

corrected the bug by deleted reset stats

avadapal 2 years ago
parent
commit
7768bee1a0
1 changed files with 0 additions and 2 deletions
  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;