mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#11395 Grid Calculation: Make sure a generated result can be used
This commit is contained in:
parent
d1e871eb69
commit
6e74fa98c0
@ -1617,11 +1617,7 @@ size_t RigCaseCellResultsData::findOrLoadKnownScalarResultForTimeStep( const Rig
|
||||
|
||||
size_t scalarResultIndex = findScalarResultIndexFromAddress( resVarAddr );
|
||||
if ( scalarResultIndex == cvf::UNDEFINED_SIZE_T ) return cvf::UNDEFINED_SIZE_T;
|
||||
|
||||
if ( type == RiaDefines::ResultCatType::GENERATED )
|
||||
{
|
||||
return cvf::UNDEFINED_SIZE_T;
|
||||
}
|
||||
if ( type == RiaDefines::ResultCatType::GENERATED ) return scalarResultIndex;
|
||||
|
||||
if ( m_readerInterface.notNull() )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user