[HOTFIX] Build break due to https://github.com/apache/spark/pull/5128
This commit is contained in:
parent
a41b9c6004
commit
7a0da47708
|
@ -25,8 +25,8 @@ import org.apache.spark.graphx._
|
||||||
/**
|
/**
|
||||||
* PageRank algorithm implementation. There are two implementations of PageRank implemented.
|
* PageRank algorithm implementation. There are two implementations of PageRank implemented.
|
||||||
*
|
*
|
||||||
* The first implementation uses the standalone [[Graph]] interface and runs PageRank for a fixed number
|
* The first implementation uses the standalone [[Graph]] interface and runs PageRank
|
||||||
* of iterations:
|
* for a fixed number of iterations:
|
||||||
* {{{
|
* {{{
|
||||||
* var PR = Array.fill(n)( 1.0 )
|
* var PR = Array.fill(n)( 1.0 )
|
||||||
* val oldPR = Array.fill(n)( 1.0 )
|
* val oldPR = Array.fill(n)( 1.0 )
|
||||||
|
|
Loading…
Reference in a new issue