aboutsummaryrefslogtreecommitdiff
path: root/mllib
diff options
context:
space:
mode:
authorReza Zadeh <rizlar@gmail.com>2014-01-17 13:57:27 -0800
committerReza Zadeh <rizlar@gmail.com>2014-01-17 13:57:27 -0800
commiteb2d8c431f3fa3a5634fe94ef85ed78a08393a25 (patch)
tree88e76e5952c091f7d8eb2438ae513fb21cb045a2 /mllib
parentcb13b15a60ce8eb55b2d2971a57ac8d4bd5c7574 (diff)
downloadspark-eb2d8c431f3fa3a5634fe94ef85ed78a08393a25.tar.gz
spark-eb2d8c431f3fa3a5634fe94ef85ed78a08393a25.tar.bz2
spark-eb2d8c431f3fa3a5634fe94ef85ed78a08393a25.zip
replace this.type with SVD
Diffstat (limited to 'mllib')
-rw-r--r--mllib/src/main/scala/org/apache/spark/mllib/linalg/SVD.scala2
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
}