Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
squito committed Apr 1, 2015
1 parent 2c8b7ee commit b4a7863
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ private[v1] object AllStagesResource {
def getMetric[T](data: Seq[T], f: T => Double): IndexedSeq[Double] =
Distribution(data.map{d=> f(d)}).get.getQuantiles(quantiles)

private abstract class MetricHelper[I,O](f: InternalTaskMetrics => Option[I]) {
abstract class MetricHelper[I,O](f: InternalTaskMetrics => Option[I]) {
val data: Seq[I] = rawMetrics.flatMap{x => f(x)}
def build: O
def m(f: I => Double): IndexedSeq[Double] = getMetric(data, f)
Expand Down

0 comments on commit b4a7863

Please sign in to comment.