diff options
author | Reza Zadeh <rizlar@gmail.com> | 2014-01-17 13:57:27 -0800 |
---|---|---|
committer | Reza Zadeh <rizlar@gmail.com> | 2014-01-17 13:57:27 -0800 |
commit | eb2d8c431f3fa3a5634fe94ef85ed78a08393a25 (patch) | |
tree | 88e76e5952c091f7d8eb2438ae513fb21cb045a2 /mllib/src/main | |
parent | cb13b15a60ce8eb55b2d2971a57ac8d4bd5c7574 (diff) | |
download | spark-eb2d8c431f3fa3a5634fe94ef85ed78a08393a25.tar.gz spark-eb2d8c431f3fa3a5634fe94ef85ed78a08393a25.tar.bz2 spark-eb2d8c431f3fa3a5634fe94ef85ed78a08393a25.zip |
replace this.type with SVD
Diffstat (limited to 'mllib/src/main')
-rw-r--r-- | mllib/src/main/scala/org/apache/spark/mllib/linalg/SVD.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mllib/src/main/scala/org/apache/spark/mllib/linalg/SVD.scala b/mllib/src/main/scala/org/apache/spark/mllib/linalg/SVD.scala index ba7a0fde77..83fcb01205 100644 --- a/mllib/src/main/scala/org/apache/spark/mllib/linalg/SVD.scala +++ b/mllib/src/main/scala/org/apache/spark/mllib/linalg/SVD.scala @@ -33,7 +33,7 @@ class SVD { /** * Set the number of top-k singular vectors to return */ - def setK(k: Int): this.type = { + def setK(k: Int): SVD = { this.k = k this } |