#3958 Refactoring: Rename modifiable result access to make it easier to track in the code. The existing overloads made things harder to read.

This commit is contained in:
Jacob Støren
2019-01-28 17:04:50 +01:00
parent 79701a6233
commit a3660cd496
11 changed files with 28 additions and 28 deletions

View File

@@ -54,7 +54,7 @@ void RimEclipseStatisticsCaseEvaluator::addNamedResult(RigCaseCellResultsData* d
destinationCellResults->createResultEntry(resAddr, true);
destinationCellResults->setTimeStepInfos(resAddr, sourceTimeStepInfos);
std::vector< std::vector<double> >& dataValues = destinationCellResults->cellScalarResults(resAddr);
std::vector< std::vector<double> >& dataValues = destinationCellResults->modifiableCellScalarResultTimesteps(resAddr);
dataValues.resize(sourceTimeStepInfos.size());