Fixing typos (#70487)

This commit is contained in:
Andreas Deininger
2023-06-22 10:43:38 +02:00
committed by GitHub
parent 1441c90178
commit 95b1f3c875
25 changed files with 36 additions and 36 deletions

View File

@@ -306,13 +306,13 @@ func parseNumber(value interface{}) *float64 {
number, ok := value.(json.Number)
if !ok {
// in the current inmplementation, errors become nils
// in the current implementation, errors become nils
return nil
}
fvalue, err := number.Float64()
if err != nil {
// in the current inmplementation, errors become nils
// in the current implementation, errors become nils
return nil
}

View File

@@ -48,7 +48,7 @@ func (e *StandardDeviationSampler) updateAggregations(val float64) {
e.m2 += delta * delta2
}
// standardDeviation calculates the amount of varation in the data
// standardDeviation calculates the amount of variation in the data
// https://en.wikipedia.org/wiki/Standard_deviation
func (e *StandardDeviationSampler) standardDeviation() float64 {
if e.count < 2 {