Skip to content
Snippets Groups Projects
Commit 4c8be64e authored by Sandy Ryza's avatar Sandy Ryza Committed by Xiangrui Meng
Browse files

SPARK-2462. Make Vector.apply public.

Apologies if there's an already-discussed reason I missed for why this doesn't make sense.

Author: Sandy Ryza <sandy@cloudera.com>

Closes #1389 from sryza/sandy-spark-2462 and squashes the following commits:

2e5e201 [Sandy Ryza] SPARK-2462.  Make Vector.apply public.
parent 1a7d7cc8
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ trait Vector extends Serializable {
* Gets the value of the ith element.
* @param i index
*/
private[mllib] def apply(i: Int): Double = toBreeze(i)
def apply(i: Int): Double = toBreeze(i)
}
/**
......
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