diff options
author | Andrew Or <andrew@databricks.com> | 2016-05-05 16:51:06 -0700 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2016-05-05 16:51:06 -0700 |
commit | 7f5922aa4a810a0b9cc783956a8b7aa3dad86a0a (patch) | |
tree | a3041ebda467fc22625a7014e17b2060d8091fa4 /mllib/src/main/scala | |
parent | bbb77734374010e36731bf6db1fac0273de8206d (diff) | |
download | spark-7f5922aa4a810a0b9cc783956a8b7aa3dad86a0a.tar.gz spark-7f5922aa4a810a0b9cc783956a8b7aa3dad86a0a.tar.bz2 spark-7f5922aa4a810a0b9cc783956a8b7aa3dad86a0a.zip |
[HOTFIX] Fix MLUtils compile
Diffstat (limited to 'mllib/src/main/scala')
-rw-r--r-- | mllib/src/main/scala/org/apache/spark/mllib/util/MLUtils.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mllib/src/main/scala/org/apache/spark/mllib/util/MLUtils.scala b/mllib/src/main/scala/org/apache/spark/mllib/util/MLUtils.scala index 86ce9705a3..f0346e600d 100644 --- a/mllib/src/main/scala/org/apache/spark/mllib/util/MLUtils.scala +++ b/mllib/src/main/scala/org/apache/spark/mllib/util/MLUtils.scala @@ -119,7 +119,7 @@ object MLUtils { previous = current i += 1 } - (label, indices, values) + (label, indices.toArray, values.toArray) } /** |