Skip to content
Snippets Groups Projects
Commit 0f16b23c authored by Reza Zadeh's avatar Reza Zadeh Committed by Xiangrui Meng
Browse files

[MLlib] Squash bug in IndexedRowMatrix

Kill this bug fast before it does damage.

Author: Reza Zadeh <rizlar@gmail.com>

Closes #2224 from rezazadeh/indexrmbug and squashes the following commits:

53386d6 [Reza Zadeh] Squash bug in IndexedRowMatrix
parent fbf2678c
No related branches found
No related tags found
No related merge requests found
...@@ -130,7 +130,7 @@ class IndexedRowMatrix( ...@@ -130,7 +130,7 @@ class IndexedRowMatrix(
val indexedRows = rows.map(_.index).zip(mat.rows).map { case (i, v) => val indexedRows = rows.map(_.index).zip(mat.rows).map { case (i, v) =>
IndexedRow(i, v) IndexedRow(i, v)
} }
new IndexedRowMatrix(indexedRows, nRows, nCols) new IndexedRowMatrix(indexedRows, nRows, B.numCols)
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment