소스 검색

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) {
 RegXS MinHeap::restore_heap_property(MPCIO & mpcio, MPCTIO tio, yield_t & yield, RegXS index) {
     RegAS smallest;
     RegAS smallest;
     auto HeapArray = oram.flat(tio, yield);
     auto HeapArray = oram.flat(tio, yield);
-    mpcio.reset_stats();
-    tio.reset_lamport();
     RegXS leftchildindex = index;
     RegXS leftchildindex = index;
     leftchildindex = index << 1;
     leftchildindex = index << 1;
     RegXS rightchildindex;
     RegXS rightchildindex;