Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mengxr committed Mar 13, 2014
1 parent d984623 commit ed00432
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,8 @@ class ALS private (
}

/**
* Adding x * x.t to a matrix, the same as BLAS's DSPR.
* Adds alpha * x * x.t to a matrix in-place. This is the same as BLAS's DSPR.
*
* @param x a vector of length n
* @param L the lower triangular part of the matrix packed in an array (row major)
*/
private def dspr(alpha: Double, x: DoubleMatrix, L: DoubleMatrix) = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ import scala.util.Random

import org.scalatest.FunSuite

import org.jblas._
import org.jblas.DoubleMatrix

import org.apache.spark.SparkContext._
import org.apache.spark.mllib.util.LocalSparkContext
import org.apache.spark.SparkContext._

object ALSSuite {

Expand Down

0 comments on commit ed00432

Please sign in to comment.