Skip to content

Commit

Permalink
#10572 Summary Table: Crash when creating summary table if no case is…
Browse files Browse the repository at this point in the history
… present
  • Loading branch information
magnesj committed Sep 3, 2023
1 parent 2d0a6a9 commit fe17b21
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fe17b21

Please sign in to comment.