Skip to content
This repository has been archived by the owner on Nov 30, 2019. It is now read-only.

Commit

Permalink
moved TODO inside code block
Browse files Browse the repository at this point in the history
  • Loading branch information
brkyvz committed Jan 29, 2015
1 parent b049c07 commit 4df37fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,10 @@ class BlockMatrix(
}

/** Converts to IndexedRowMatrix. The number of columns must be within the integer range. */
// TODO: This implementation may be optimized
def toIndexedRowMatrix(): IndexedRowMatrix = {
require(numCols() < Int.MaxValue, "The number of columns must be within the integer range. " +
s"numCols: ${numCols()}")
// TODO: This implementation may be optimized
toCoordinateMatrix().toIndexedRowMatrix()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ class IndexedRowMatrix(
* a smaller value. Must be an integer value greater than 0.
* @return a [[BlockMatrix]]
*/
// TODO: This implementation may be optimized
def toBlockMatrix(rowsPerBlock: Int, colsPerBlock: Int): BlockMatrix = {
// TODO: This implementation may be optimized
toCoordinateMatrix().toBlockMatrix(rowsPerBlock, colsPerBlock)
}

Expand Down

0 comments on commit 4df37fe

Please sign in to comment.