Skip to content
Snippets Groups Projects
Commit 3715ecdf authored by Cheng Lian's avatar Cheng Lian
Browse files

[SPARK-14295][MLLIB][HOTFIX] Fixes Scala 2.10 compilation failure

## What changes were proposed in this pull request?

Fixes a compilation failure introduced in PR #12088 under Scala 2.10.

## How was this patch tested?

Compilation.

Author: Cheng Lian <lian@databricks.com>

Closes #12107 from liancheng/spark-14295-hotfix.
parent 22249afb
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,7 @@ object MLUtils {
i += 1
}
(label, indices, values)
(label, indices.toArray, values.toArray)
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment