From dbbe96c26b1185ccab497d0f87516ccd2dc7912a Mon Sep 17 00:00:00 2001 From: Bozhi YOU Date: Mon, 28 Aug 2023 16:53:08 -0500 Subject: [PATCH] Fix formatting. --- tools/dist-graph-convert/dist-graph-convert-helpers.cpp | 4 ++-- tools/graph-convert/graph-convert.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/dist-graph-convert/dist-graph-convert-helpers.cpp b/tools/dist-graph-convert/dist-graph-convert-helpers.cpp index 4764598bbf..b7c428a688 100644 --- a/tools/dist-graph-convert/dist-graph-convert-helpers.cpp +++ b/tools/dist-graph-convert/dist-graph-convert-helpers.cpp @@ -450,8 +450,8 @@ void receiveAssignedEdges(std::atomic& edgesToReceive, std::vector recvDataVector; while (edgesToReceive) { - decltype( - net.recieveTagged(galois::runtime::evilPhase, nullptr)) rBuffer; + decltype(net.recieveTagged(galois::runtime::evilPhase, + nullptr)) rBuffer; rBuffer = net.recieveTagged(galois::runtime::evilPhase, nullptr); // the buffer will have edge data as well if localsrctodata is diff --git a/tools/graph-convert/graph-convert.cpp b/tools/graph-convert/graph-convert.cpp index 2a38b48dfb..22ab2d1f05 100644 --- a/tools/graph-convert/graph-convert.cpp +++ b/tools/graph-convert/graph-convert.cpp @@ -687,7 +687,7 @@ struct Mtx2Gr : public HasNoVoidSpecialization { } for (size_t edge_num = 0; edge_num < nedges; ++edge_num) { - if ( (nedges / 500 > 0) && (edge_num % (nedges / 500)) == 0) { + if ((nedges / 500 > 0) && (edge_num % (nedges / 500)) == 0) { printf("Phase %d: current edge progress %lf%%\n", phase, ((double)edge_num / nedges) * 100); }