mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2912 Ensemble curves. Fixes regarding summary curve definitions
This commit is contained in:
@@ -146,9 +146,12 @@ bool RiaSummaryCurveDefinition::operator<(const RiaSummaryCurveDefinition& other
|
||||
{
|
||||
if (m_curveDefinition.first == other.summaryCase())
|
||||
{
|
||||
if (m_curveDefinition.second == other.summaryAddress())
|
||||
{
|
||||
return m_ensemble < other.m_ensemble;
|
||||
}
|
||||
return (m_curveDefinition.second < other.summaryAddress());
|
||||
}
|
||||
|
||||
return (m_curveDefinition.first < other.summaryCase());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user