Browse Source

Indentation

Ian Goldberg 1 year ago
parent
commit
67bd8921a8
1 changed files with 2 additions and 2 deletions
  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);
     }