func name ref correct "qauntile" -> "quantile" (#5834)

Signed-off-by: ethan <guangming.wang@daocloud.io>
This commit is contained in:
ethan 2019-08-06 13:11:16 +08:00 committed by Brian Brazil
parent 5e974d3170
commit 8928094b56

View file

@ -173,7 +173,7 @@ func ensureMonotonic(buckets buckets) {
}
}
// qauntile calculates the given quantile of a vector of samples.
// quantile calculates the given quantile of a vector of samples.
//
// The Vector will be sorted.
// If 'values' has zero elements, NaN is returned.