Repository: spark Updated Branches: refs/heads/master bbb777343 -> 7f5922aa4
[HOTFIX] Fix MLUtils compile Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/7f5922aa Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/7f5922aa Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/7f5922aa Branch: refs/heads/master Commit: 7f5922aa4a810a0b9cc783956a8b7aa3dad86a0a Parents: bbb7773 Author: Andrew Or <and...@databricks.com> Authored: Thu May 5 16:51:06 2016 -0700 Committer: Andrew Or <and...@databricks.com> Committed: Thu May 5 16:51:06 2016 -0700 ---------------------------------------------------------------------- mllib/src/main/scala/org/apache/spark/mllib/util/MLUtils.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/7f5922aa/mllib/src/main/scala/org/apache/spark/mllib/util/MLUtils.scala ---------------------------------------------------------------------- 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 86ce970..f0346e6 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) } /** --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org