Skip to content

Commit 7e62b55

Browse files
committed
create pr
1 parent 33c6eb5 commit 7e62b55

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

graphx/src/main/scala/org/apache/spark/graphx/lib/SVDPlusPlus.scala

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,7 @@ object SVDPlusPlus {
196196
g.unpersist()
197197
g = gJoinT3
198198

199-
// Convert DoubleMatrix to Array[Double]:
200-
val newVertices = g.vertices.mapValues(v => (v._1.toArray, v._2.toArray, v._3, v._4))
201-
(Graph(newVertices, g.edges), u)
199+
(g, u)
202200
}
203201

204202
/**

0 commit comments

Comments
 (0)