#1769 Rename to findOrCreateScalarResultIndex

This commit is contained in:
Magne Sjaastad
2017-08-25 06:58:47 +02:00
parent 7fe2eb6750
commit 538d308922
10 changed files with 23 additions and 23 deletions

View File

@@ -259,7 +259,7 @@ void RimIdenticalGridCaseGroup::loadMainCaseAndActiveCellInfo()
size_t scalarResultIndex = cellResultsStorage->cellResults()->findScalarResultIndex(resultType, resultName);
if (scalarResultIndex == cvf::UNDEFINED_SIZE_T)
{
size_t scalarResultIndex = cellResultsStorage->cellResults()->addEmptyScalarResult(resultType, resultName, needsToBeStored);
size_t scalarResultIndex = cellResultsStorage->cellResults()->findOrCreateScalarResultIndex(resultType, resultName, needsToBeStored);
if (mustBeCalculated) cellResultsStorage->cellResults()->setMustBeCalculated(scalarResultIndex);