mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4405 Derived Ensemble: Fix missing mean value for part of summary plot
This commit is contained in:
parent
6a2d1def1d
commit
4b8b4ea47a
@ -256,8 +256,11 @@ void RimEnsembleStatisticsCase::calculateStatistics(const std::vector<double>& v
|
||||
std::multiset<double> vSet(values.begin(), values.end());
|
||||
for (double v : vSet)
|
||||
{
|
||||
sortedValues.push_back(v);
|
||||
valueSum += v;
|
||||
if (RiaStatisticsTools::isValidNumber(v))
|
||||
{
|
||||
sortedValues.push_back(v);
|
||||
valueSum += v;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user