[ https://issues.apache.org/jira/browse/FLINK-2044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15289640#comment-15289640 ]
ASF GitHub Bot commented on FLINK-2044: --------------------------------------- Github user vasia commented on a diff in the pull request: https://github.com/apache/flink/pull/1956#discussion_r63765714 --- Diff: flink-libraries/flink-gelly/src/main/java/org/apache/flink/graph/library/HITSAlgorithm.java --- @@ -160,7 +240,7 @@ public void sendMessages(Vertex<K, Tuple2<DoubleValue, DoubleValue>> vertex) { double iterationValueSum = 1.0; if (getSuperstepNumber() > 1) { - iterationValueSum = Math.sqrt(((DoubleValue) getPreviousIterationAggregate("sumVertexValue")).getValue()); + iterationValueSum = Math.sqrt(((DoubleValue) getPreviousIterationAggregate("updatedValueSum")).getValue()); } for (Edge<K, EV> edge : getEdges()) { K messageSource = getSuperstepNumber() % 2 == 1 ? edge.getSource() : edge.getTarget(); --- End diff -- Could you please explain what is this and the following line doing? The condition is the same in both. > Implementation of Gelly HITS Algorithm > -------------------------------------- > > Key: FLINK-2044 > URL: https://issues.apache.org/jira/browse/FLINK-2044 > Project: Flink > Issue Type: New Feature > Components: Gelly > Reporter: Ahamd Javid > Assignee: GaoLun > Priority: Minor > > Implementation of Hits Algorithm in Gelly API using Java. the feature branch > can be found here: (https://github.com/JavidMayar/flink/commits/HITS) -- This message was sent by Atlassian JIRA (v6.3.4#6332)