mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-28 16:10:24 -05:00
Fixes by clang-tidy
This commit is contained in:
1 parent
bda598dd37
commit
59a53952f7
2 files changed
+3
-2
No files matched your search
@@ -706,7 +706,7 @@ void RimOpmFlowJob::onCompleted( bool success )
|
||||
QString pattern = m_workDir().path() + "/run-*/" + baseDeckName() + "-*";
|
||||
auto fileSet = RimEnsembleFileSetTools::createEnsembleFileSetFromOpm( pattern, name() );
|
||||
auto ensembles = RimEnsembleFileSetTools::createSummaryEnsemblesFromFileSets( { fileSet } );
|
||||
if ( ensembles.size() > 0 )
|
||||
if ( !ensembles.empty() )
|
||||
{
|
||||
m_summaryEnsemble = ensembles[0];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user