mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#10572 Summary Table: Crash when creating summary table if no case is present
This commit is contained in:
parent
2d0a6a9aa7
commit
fe17b211b8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user