Skip to content

Commit

Permalink
Wrap long lines (oops)
Browse files Browse the repository at this point in the history
  • Loading branch information
holdenk committed Apr 9, 2014
1 parent c0b7fa4 commit dd0b737
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/src/main/scala/org/apache/spark/rdd/FoldedRDD.scala
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ class FoldedRDD[T: ClassTag](
fold: Float,
folds: Float,
seed: Int)
extends PartitionwiseSampledRDD[T, T](prev, new BernoulliSampler((fold-1)/folds,fold/folds, false), seed) {
extends PartitionwiseSampledRDD[T, T](prev,
new BernoulliSampler((fold-1)/folds,fold/folds, false), seed) {
}

/**
Expand All @@ -48,5 +49,6 @@ class CompositeFoldedRDD[T: ClassTag](
fold: Float,
folds: Float,
seed: Int)
extends PartitionwiseSampledRDD[T, T](prev, new BernoulliSampler((fold-1)/folds, fold/folds, true), seed) {
extends PartitionwiseSampledRDD[T, T](prev,
new BernoulliSampler((fold-1)/folds, fold/folds, true), seed) {
}

0 comments on commit dd0b737

Please sign in to comment.