diff --git a/include/pando-lib-galois/graphs/dist_local_csr.hpp b/include/pando-lib-galois/graphs/dist_local_csr.hpp index 1262ae96..a655dbec 100644 --- a/include/pando-lib-galois/graphs/dist_local_csr.hpp +++ b/include/pando-lib-galois/graphs/dist_local_csr.hpp @@ -816,7 +816,7 @@ class DistLocalCSR { } currentCSR.vertexEdgeOffsets[vertex] = Vertex{¤tCSR.edgeDestinations[currLocalEdge]}; - arrayOfCSRs.get(host) = currentCSR; + arrayOfCSRs[host] = currentCSR; edgesStart = edgesEnd; } edgeCounts.deinitialize(); @@ -824,7 +824,7 @@ class DistLocalCSR { edgesStart = 0; for (uint64_t host = 0; host < hosts; host++) { - CSR currentCSR = arrayOfCSRs.get(host); + CSR currentCSR = arrayOfCSRs[host]; uint64_t lastLocalVertexIndex = verticesPerHost * (host + 1) - 1; if (lastLocalVertexIndex >= numVertices) { @@ -846,7 +846,7 @@ class DistLocalCSR { currEdge = edges[edgesStart + currLocalEdge + 1]; } } - arrayOfCSRs.get(host) = currentCSR; + arrayOfCSRs[host] = currentCSR; edgesStart += currLocalEdge; } @@ -925,7 +925,7 @@ class DistLocalCSR { galois::onEach( state2, +[](InitializeEdgeState& state, uint64_t thread, uint64_t) { uint64_t host = static_cast(pando::getCurrentNode().id); - CSR currentCSR = state.dlcsr.arrayOfCSRs.get(host); + CSR currentCSR = state.dlcsr.arrayOfCSRs[host]; uint64_t hostOffset; PANDO_CHECK(state.edges.currentHostIndexOffset(hostOffset)); @@ -1067,7 +1067,7 @@ class DistLocalCSR { */ pando::GlobalRef getLocalCSR() { std::uint64_t nodeIdx = static_cast(pando::getCurrentPlace().node.id); - return arrayOfCSRs.get(nodeIdx); + return arrayOfCSRs[nodeIdx]; } private: