You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2018/06/13 13:22:00 UTC

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

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)