Merge branch 'dev' into pre-proto

This commit is contained in:
Bjørnar Grip Fjær
2017-06-21 16:38:57 +02:00
12 changed files with 142 additions and 67 deletions

View File

@@ -1545,7 +1545,7 @@ bool RimReservoirCellResultsStorage::isDataPresent(size_t scalarResultIndex) con
return false;
}
const std::vector< std::vector<double> > data = m_cellResults->cellScalarResults(scalarResultIndex);
const std::vector< std::vector<double> >& data = m_cellResults->cellScalarResults(scalarResultIndex);
for (size_t tsIdx = 0; tsIdx < data.size(); ++tsIdx)
{