fix histogram max typecast

This commit is contained in:
Andrew Kryczka 2017-03-10 10:46:55 -08:00
parent fe1835617a
commit 93989b0ae8

View File

@ -235,7 +235,7 @@ void HistogramStat::Data(HistogramData * const data) const {
data->median = Median();
data->percentile95 = Percentile(95);
data->percentile99 = Percentile(99);
data->max = max();
data->max = static_cast<double>(max());
data->average = Average();
data->standard_deviation = StandardDeviation();
}