mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix crash in RimWellPathValve when perforation is larger than wellpath
* This is the case with the Completions_msw Regression test
This commit is contained in:
@@ -84,8 +84,10 @@ void RimWellPathValve::setMeasuredDepthAndCount(double startMD, double spacing,
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellPathValve::geometryUpdated()
|
||||
void RimWellPathValve::multipleValveGeometryUpdated()
|
||||
{
|
||||
if (m_multipleValveLocations->valveLocations().empty()) return;
|
||||
|
||||
m_measuredDepth = m_multipleValveLocations->valveLocations().front();
|
||||
|
||||
RimProject* proj;
|
||||
|
||||
Reference in New Issue
Block a user