mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3224 Add validAggregatedWeight() to geometric mean calculator
This commit is contained in:
@@ -63,3 +63,11 @@ double RiaWeightedGeometricMeanCalculator::aggregatedWeight() const
|
||||
{
|
||||
return m_aggregatedWeight;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RiaWeightedGeometricMeanCalculator::validAggregatedWeight() const
|
||||
{
|
||||
return m_aggregatedWeight > 1.0e-12;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user