Skip to content

Commit

Permalink
init pr
Browse files Browse the repository at this point in the history
  • Loading branch information
WeichenXu123 committed Apr 12, 2018
1 parent 6a2289e commit c273666
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -85,7 +85,7 @@ object KolmogorovSmirnovTest {
dataset: Dataset[_],
sampleCol: String,
cdf: Function[java.lang.Double, java.lang.Double]): DataFrame = {
test(dataset, sampleCol, (x: Double) => cdf.call(x))
test(dataset, sampleCol, (x: Double) => cdf.call(x).toDouble)
}

/**
Expand Down

0 comments on commit c273666

Please sign in to comment.