Fixed crash when creating well alloc plot

This commit is contained in:
Jacob Støren
2017-03-23 12:32:02 +01:00
parent cde71ef07a
commit fd23ec242e
2 changed files with 11 additions and 7 deletions

View File

@@ -358,7 +358,7 @@ std::map<QString, const std::vector<double> *> RimWellAllocationPlot::findReleva
{
RigFlowDiagResultAddress resAddr(RIG_FLD_CELL_FRACTION_RESNAME, tracerName.toStdString());
const std::vector<double>* tracerCellFractions = m_flowDiagSolution->flowDiagResults()->resultValues(resAddr, m_timeStep);
tracerCellFractionValues[tracerName] = tracerCellFractions;
if (tracerCellFractions) tracerCellFractionValues[tracerName] = tracerCellFractions;
}
}
}