Skip to content

Commit

Permalink
Fix the bug
Browse files Browse the repository at this point in the history
  • Loading branch information
holdenk committed Apr 8, 2014
1 parent 8a5153a commit 7e533f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mllib/src/main/scala/org/apache/spark/mllib/linalg/SVD.scala
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,10 @@ class SVD {
val rows = data.map(entry =>
(entry.i, (entry.j, entry.mval))).groupByKey()
println("rows "+rows)
rows.foreach{e => println("r "+e)}
val emits = rows.flatMap {
case (rowind, cols) =>
case (rowind, colsI) =>
val cols = colsI.toList
cols.flatMap {
case (colind1, mval1) =>
cols.map {
Expand Down

0 comments on commit 7e533f7

Please sign in to comment.