[GitHub] flink issue #6165: [FLINK-9577] Divide-by-zero in PageRank

2018-06-14 Thread yanghua
Github user yanghua commented on the issue:

https://github.com/apache/flink/pull/6165
  
@zentol the field `vertexCount` and `uniformlyDistributedScore` been 
initialized in open function. if `vertexCount` was set to default value (0). I 
think `uniformlyDistributedScore` keeps default value is OK, otherwise it would 
throw an error. if `vertexCount` is not zero, the `uniformlyDistributedScore` 
would be calculated accurately.


---


[GitHub] flink issue #6165: [FLINK-9577] Divide-by-zero in PageRank

2018-06-14 Thread zentol
Github user zentol commented on the issue:

https://github.com/apache/flink/pull/6165
  
How have you verified that this does not affect the semantics of the 
algorithm?


---