Merge pull request #6267 from OPM/fracture-model-plot-crash

Fix crash in fracture model plot.
This commit is contained in:
Kristian Bendiksen 2020-08-05 15:03:53 +02:00 committed by GitHub
commit 6a8fdd9582
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2352,7 +2352,7 @@ void RimWellLogTrack::updateStackedCurveData()
{
const double eps = 1.0e-8;
RimWellLogPlot* wellLogPlot;
RimDepthTrackPlot* wellLogPlot;
firstAncestorOrThisOfTypeAsserted( wellLogPlot );
RimWellLogPlot::DepthTypeEnum depthType = wellLogPlot->depthType();