Skip to content

Commit

Permalink
Fix for references in avRef
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaAtulTewari committed May 29, 2024
1 parent 087d347 commit b720033
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ class GNNGraph {
std::uint32_t host = pando::getCurrentPlace().node.id;
std::uint64_t numLocalVertices = g.localSize(host);

pando::Array<std::uint64_t> av = avRef;
pando::Array<std::uint64_t> av;
PANDO_CHECK(av.initialize(numLocalVertices));

for (std::uint64_t i = 0; i < av.size(); ++i) {
Expand All @@ -325,6 +325,7 @@ class GNNGraph {
av[i] = av[j];
av[j] = temp;
}
avRef = av;
});

struct TplOut {
Expand Down

0 comments on commit b720033

Please sign in to comment.