Skip to content

Conversation

@s417-lama
Copy link

If the following edgeMapDense implementation is correct, I think edgeMapReduce_dense and edgeMapCount_dense functions should also flip the in/out edges for the pull operation.

auto neighbors = (fl & in_edges)
? GA.get_vertex(v).out_neighbors()
: GA.get_vertex(v).in_neighbors();

I realized this issue because PageRank produced NaN values because of zero-division when some of the vertices have zero out-degree.
However, this should not happen because the contribution of zero out-degree vertices cannot be propagated to other vertices.

Sorry that I did not test its behavior other than PageRank. This fix may cause some inconsistency in other benchmarks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant