Fix crash in fracture model plot.

The parent of RimWellLogTrack can also be a RimDepthTrackPlot.
This commit is contained in:
Kristian Bendiksen 2020-08-05 13:53:25 +02:00
parent bb8612c6a6
commit 1dd5cc65bc

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();