mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 08:25:03 -05:00
Fix Harmonic Mean test
This commit is contained in:
1 parent
2701035655
commit
cc2faae87d
1 file changed
+1
-1
@@ -56,7 +56,7 @@ TEST(RiaWeightedHarmonicMeanCalculator, WeightedValues)
|
||||
|
||||
|
||||
EXPECT_DOUBLE_EQ(sumWeights, calc.aggregatedWeight());
|
||||
EXPECT_NEAR(sumWeights, calc.weightedMean(), 1e-8);
|
||||
EXPECT_NEAR(sumWeights / weights.size(), calc.weightedMean(), 1e-8);
|
||||
}
|
||||
{
|
||||
RiaWeightedHarmonicMeanCalculator calc;
|
||||
|
||||
Reference in new issue
Block a user