Skip to content

Commit 00064f8

Browse files
authored
fixing bug which shows up for wmd data(large vertices) (#43)
1 parent fb19a3b commit 00064f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcusp/include/galois/graphs/BasePolicies.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class ReadMasterAssignment : public PartitioningScaffold {
9797
* @param gid GID of node to get master of
9898
* @returns Host ID of host that read the node specified by the GID.
9999
*/
100-
uint32_t retrieveMaster(uint32_t gid) const {
100+
uint32_t retrieveMaster(uint64_t gid) const {
101101
if (hash == false) {
102102
for (auto h = 0U; h < _numHosts; ++h) {
103103
uint64_t start, end;
@@ -207,7 +207,7 @@ class CustomMasterAssignment : public PartitioningScaffold {
207207
* @param gid GID to get master of
208208
* @returns Master of specified GID, -1, unsigned, if not found
209209
*/
210-
uint32_t retrieveMaster(uint32_t gid) const {
210+
uint32_t retrieveMaster(uint64_t gid) const {
211211
if (_status != 0) {
212212
// use map if not a locally read node, else use vector
213213
if (getHostReader(gid) != _hostID) {

0 commit comments

Comments
 (0)