소스 검색

Indentation

Ian Goldberg 6 달 전
부모
커밋
67bd8921a8
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      heap.cpp

+ 2 - 2
heap.cpp

@@ -357,7 +357,7 @@ RegXS MinHeap::restore_heap_property(MPCIO & mpcio, MPCTIO tio, yield_t & yield,
     RegAS smallerchild;
 
     run_coroutines(tio, [&tio, &smallerindex, lt_c, rightchildindex, leftchildindex](yield_t &yield) {
-    mpc_select(tio, yield, smallerindex, lt_c, rightchildindex, leftchildindex);
+        mpc_select(tio, yield, smallerindex, lt_c, rightchildindex, leftchildindex);
     },  [&tio, &smallerchild, lt_c, rightchild, leftchild](yield_t &yield) {
         mpc_select(tio, yield, smallerchild, lt_c, rightchild, leftchild);
     }
@@ -373,7 +373,7 @@ RegXS MinHeap::restore_heap_property(MPCIO & mpcio, MPCTIO tio, yield_t & yield,
     RegAS update_index_by, update_leftindex_by;
 
     run_coroutines(tio, [&tio, &update_leftindex_by, ltlt1, parent, leftchild](yield_t &yield) {
-    mpc_flagmult(tio, yield, update_leftindex_by, ltlt1, parent - leftchild);
+        mpc_flagmult(tio, yield, update_leftindex_by, ltlt1, parent - leftchild);
     },  [&tio, &update_index_by, lt_p, parent, smallerchild](yield_t &yield) {
         mpc_flagmult(tio, yield, update_index_by, lt_p, smallerchild - parent);
     }