mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-02 20:30:46 -06:00
Fix stacking crash in WellLogCurveData
This commit is contained in:
1 parent
99762831bd
commit
48a9fa01bb
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user