#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

@@ -434,7 +434,7 @@ private:
}
std::vector< std::vector<double> >* scalarResultFrames = nullptr;
scalarResultFrames = &(results->cellScalarResults(resAddr));
scalarResultFrames = &(results->modifiableCellScalarResultTimesteps(resAddr));
size_t timeStepCount = results->maxTimeStepCount();
scalarResultFrames->resize(timeStepCount);