Skip to content

Commit

Permalink
made transpose lazy
Browse files Browse the repository at this point in the history
  • Loading branch information
brkyvz committed Jan 30, 2015
1 parent 5a274cd commit 33e9219
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ class BlockMatrix(
val transposedBlocks = blocks.map { case ((blockRowIndex, blockColIndex), mat) =>
((blockColIndex, blockRowIndex), mat.transpose)
}
new BlockMatrix(transposedBlocks, colsPerBlock, rowsPerBlock, numCols(), numRows())
new BlockMatrix(transposedBlocks, colsPerBlock, rowsPerBlock, nCols, nRows)
}

/** Collects data and assembles a local dense breeze matrix (for test only). */
Expand Down

0 comments on commit 33e9219

Please sign in to comment.