mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3958 Refactoring: RigCaseCellResultsData: Remove the final result index based interface
This commit is contained in:
@@ -85,8 +85,7 @@ void RicfExportProperty::execute()
|
||||
|
||||
RigCaseCellResultsData* cellResultsData = eclipseCaseData->results(RiaDefines::MATRIX_MODEL);
|
||||
|
||||
size_t resultIdx = cellResultsData->findOrLoadKnownScalarResult(m_propertyName);
|
||||
if (resultIdx == cvf::UNDEFINED_SIZE_T)
|
||||
if (!cellResultsData->ensureKnownResultLoaded(RigEclipseResultAddress(m_propertyName)))
|
||||
{
|
||||
RiaLogging::error(QString("exportProperty: Could not find result property : %1").arg(m_propertyName()));
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user