From 2e4fc65f77309fd99225ab0b40c123f92eba13a8 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 31 Aug 2021 12:14:45 +0300 Subject: ipa: libipa: histogram: Fix typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "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 Reviewed-by: Kieran Bingham Reviewed-by: Jean-Michel Hautbois --- src/ipa/libipa/histogram.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ipa/libipa') diff --git a/src/ipa/libipa/histogram.cpp b/src/ipa/libipa/histogram.cpp index fb1eb2a2..4d94571f 100644 --- a/src/ipa/libipa/histogram.cpp +++ b/src/ipa/libipa/histogram.cpp @@ -139,7 +139,7 @@ double Histogram::interQuantileMean(double lowQuantile, double highQuantile) con double freq = (cumulative_[bin + 1] - cumulative_[bin]) * (std::min(p_next, highPoint) - lowPoint); - /* Accumulate weigthed bin */ + /* Accumulate weighted bin */ sumBinFreq += bin * freq; /* Accumulate weights */ cumulFreq += freq; -- cgit v1.2.1