Skip to content

Commit

Permalink
fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
brkyvz committed Apr 28, 2015
1 parent 2384266 commit f400ade
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ case class Sample(
// TODO: How to pick seed?
override def execute(): RDD[Row] = {
if (withReplacement) {
child.execute().map(_.copy()).sample(withReplacement, ub - lb, seed)
child.execute().map(_.copy()).sample(withReplacement, upperBound - lowerBound, seed)
} else {
child.execute().map(_.copy()).randomSampleWithRange(lb, ub, seed)
child.execute().map(_.copy()).randomSampleWithRange(lowerBound, upperBound, seed)
}
}
}
Expand Down

0 comments on commit f400ade

Please sign in to comment.