Fix stacking crash in WellLogCurveData

This commit is contained in:
Gaute Lindkvist 2020-07-01 08:50:39 +02:00
parent 99762831bd
commit 48a9fa01bb

View File

@ -385,7 +385,7 @@ cvf::ref<RigWellLogCurveData> RigWellLogCurveData::calculateResampledCurveData(
cvf::ref<RigWellLogCurveData> reSampledData = new RigWellLogCurveData;
if ( depthIt->second.empty() ) return reSampledData;
if ( depthIt == m_depths.end() || depthIt->second.empty() ) return reSampledData;
bool reverseOrder = resamplingDepthType == RiaDefines::DepthTypeEnum::CONNECTION_NUMBER;