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:
parent
75df3c7139
commit
2e4fc65f77
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue