GitHub user ddna1021 opened a pull request: https://github.com/apache/spark/pull/20220
Update PageRank.scala ## What changes were proposed in this pull request? Hi, acording to code below, "if (id == src) (0.0, Double.NegativeInfinity) else (0.0, 0.0)" I think the comment can be wrong ## How was this patch tested? (Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests) (If this patch involves UI changes, please attach a screenshot; otherwise, remove this) Please review http://spark.apache.org/contributing.html before opening a pull request. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ddna1021/spark master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/20220.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #20220 ---- commit 181727e37952c67f543cf5cd18e1acbe31e3a3e8 Author: FanDonglai <ddna_1022@...> Date: 2018-01-10T12:10:27Z Update PageRank.scala Acording to code below, "if (id == src) (0.0, Double.NegativeInfinity) else (0.0, 0.0)" I think the comment can be wrong ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org