ipa: libipa: histogram: Fix typo

"weighted", derived from the verb "to weight", comes from Middle English
weight, weiȝte, weght, wight, from Old English wiht, ġewiht, from
Proto-Germanic *wihtiz, from Proto-Indo-European *weǵʰ-. In none of
those does the t come before the h.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
This commit is contained in:
Laurent Pinchart 2021-08-31 12:14:45 +03:00
parent 75df3c7139
commit 2e4fc65f77

View file

@ -139,7 +139,7 @@ double Histogram::interQuantileMean(double lowQuantile, double highQuantile) con
double freq = (cumulative_[bin + 1] - cumulative_[bin]) double freq = (cumulative_[bin + 1] - cumulative_[bin])
* (std::min(p_next, highPoint) - lowPoint); * (std::min(p_next, highPoint) - lowPoint);
/* Accumulate weigthed bin */ /* Accumulate weighted bin */
sumBinFreq += bin * freq; sumBinFreq += bin * freq;
/* Accumulate weights */ /* Accumulate weights */
cumulFreq += freq; cumulFreq += freq;