mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 01:12:11 -05:00
#10572 Summary Table: Crash when creating summary table if no case is present
This commit is contained in:
1 parent
2d0a6a9aa7
commit
fe17b211b8
1 file changed
+3
-4
@@ -682,11 +682,10 @@ void RimSummaryTable::createTableData()
|
||||
m_tableData = TableData();
|
||||
m_tableData.thresholdValue = m_thresholdValue();
|
||||
|
||||
if ( !m_case ) return;
|
||||
|
||||
const auto summaryReader = m_case->summaryReader();
|
||||
if ( !summaryReader )
|
||||
{
|
||||
return;
|
||||
}
|
||||
if ( !summaryReader ) return;
|
||||
|
||||
// Create time step value for vectors with no values above threshold
|
||||
const time_t invalidTimeStep = 0;
|
||||
|
||||
Reference in new issue
Block a user