mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-26 16:26:48 -06:00
#2995 Plot editor. Fix build error on Linux
This commit is contained in:
parent
0579c201dc
commit
7d2b3f159b
@ -383,7 +383,7 @@ void RiuSummaryCurveDefSelection::setDefaultSelection(const std::vector<SummaryS
|
|||||||
auto allSumCases = proj->allSummaryCases();
|
auto allSumCases = proj->allSummaryCases();
|
||||||
auto allSumGroups = proj->summaryGroups();
|
auto allSumGroups = proj->summaryGroups();
|
||||||
bool hasEnsembles = std::count_if(allSumGroups.begin(), allSumGroups.end(),
|
bool hasEnsembles = std::count_if(allSumGroups.begin(), allSumGroups.end(),
|
||||||
[](const auto& sumGroup) { return sumGroup->isEnsemble(); }) > 0;
|
[](const RimSummaryCaseCollection* sumGroup) { return sumGroup->isEnsemble(); }) > 0;
|
||||||
|
|
||||||
if (allSumCases.size() > 0 && !hasEnsembles)
|
if (allSumCases.size() > 0 && !hasEnsembles)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user