Repository: spark
Updated Branches:
  refs/heads/branch-2.0 a1887f213 -> 7dc3fb6ae


[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/7dc3fb6a
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/7dc3fb6a
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/7dc3fb6a

Branch: refs/heads/branch-2.0
Commit: 7dc3fb6ae44ba9863eb59c2724c73201c46e5213
Parents: a1887f2
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:52 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/7dc3fb6a/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

Reply via email to