mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7065 Include inf values in statistics curves (P90, P10, ..)
If inf values are skipped, the visualization of statistics curves will be positioned at wrong date.
This commit is contained in:
@@ -190,10 +190,10 @@ void RimEnsembleStatisticsCase::calculate( const std::vector<RimSummaryCase*> su
|
||||
double p10, p50, p90, mean;
|
||||
RigStatisticsMath::calculateStatisticsCurves( valuesAtTimeStep, &p10, &p50, &p90, &mean );
|
||||
|
||||
if ( p10 != HUGE_VAL ) m_p10Data.push_back( p10 );
|
||||
if ( p50 != HUGE_VAL ) m_p50Data.push_back( p50 );
|
||||
if ( p90 != HUGE_VAL ) m_p90Data.push_back( p90 );
|
||||
if ( mean != HUGE_VAL ) m_meanData.push_back( mean );
|
||||
m_p10Data.push_back( p10 );
|
||||
m_p50Data.push_back( p50 );
|
||||
m_p90Data.push_back( p90 );
|
||||
m_meanData.push_back( mean );
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user