mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-29 08:30:17 -05:00
#12419 Avoid assert during load of simulation case
Validate incoming parameters before use
This commit is contained in:
1 parent
5c2869d75f
commit
fae4623477
3 files changed
+19
-11
No files matched your search
@@ -39,6 +39,8 @@ void RifInputPropertyLoader::loadAndSynchronizeInputProperties( RimEclipseInputP
|
||||
const std::vector<QString>& filenames,
|
||||
bool allowImportOfFaults )
|
||||
{
|
||||
if ( !inputPropertyCollection || !eclipseCaseData || filenames.empty() ) return;
|
||||
|
||||
std::vector<RimEclipseInputProperty*> existingProperties = inputPropertyCollection->inputProperties.childrenByType();
|
||||
|
||||
caf::ProgressInfo progInfo( static_cast<int>( filenames.size() ), "Reading Input properties" );
|
||||
|
||||
Reference in new issue
Block a user