[jira] [Created] (FLINK-9577) Divide-by-zero in PageRank

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-9577) Divide-by-zero in PageRank

Shang Yuanchun (Jira)
Chesnay Schepler created FLINK-9577:
---------------------------------------

             Summary: Divide-by-zero in PageRank
                 Key: FLINK-9577
                 URL: https://issues.apache.org/jira/browse/FLINK-9577
             Project: Flink
          Issue Type: Bug
          Components: Gelly
    Affects Versions: 1.5.0, 1.4.0, 1.6.0
            Reporter: Chesnay Schepler


{code}
// org.apache.flink.graph.library.linkanalysis.PageRank#AdjustScores#open

this.vertexCount = vertexCountIterator.hasNext() ? vertexCountIterator.next().getValue() : 0;

this.uniformlyDistributedScore = ((1 - dampingFactor) + dampingFactor * sumOfSinks) / this.vertexCount;
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)