瀏覽代碼

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;