mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Stop ResInsight from crashing when calculating cell volume (#8374)
* Stop ResInsight from crashing when calculating cell volume
This commit is contained in:
@@ -251,7 +251,7 @@ protected:
|
||||
m_resultValues = caseData->results( porosityModel )->modifiableCellScalarResult( resVarAddr, timeStepIndex );
|
||||
if ( m_resultValues->empty() )
|
||||
{
|
||||
m_resultValues->resize( activeCellInfo->reservoirCellResultCount() );
|
||||
m_resultValues->resize( activeCellInfo->reservoirActiveCellCount() );
|
||||
}
|
||||
m_cellCount = activeCellInfo->reservoirActiveCellCount();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user