More refactoring as preparations for #1171, #1120, and #1209

This commit is contained in:
Jacob Støren
2017-02-17 11:33:21 +01:00
parent b7b31f6c03
commit 492b777040
3 changed files with 14 additions and 26 deletions

View File

@@ -231,11 +231,7 @@ void RimWellAllocationPlot::updateFromWell()
accumulatedWellFlowPlot()->addTrack(plotTrack);
std::vector<double> connNumbers;
{
const std::vector<size_t>& connNumbersSize_t = wfCalculator->connectionNumbersFromTop(brIdx);
for ( size_t conNumb : connNumbersSize_t ) connNumbers.push_back(static_cast<double>(conNumb));
}
std::vector<double> connNumbers = wfCalculator->connectionNumbersFromTop(brIdx);
if ( m_flowDiagSolution )
{