mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 07:00:17 -05:00
#14153 Guard against empty well path geometry in MSW cell segment generation
This commit is contained in:
1 parent
a1c4b06237
commit
59af9f51e9
1 file changed
+1
-1
+1
-1
@@ -708,7 +708,7 @@ std::vector<WellPathCellIntersectionInfo> RicWellPathExportMswTableData::generat
|
||||
|
||||
const std::vector<cvf::Vec3d>& coords = wellPathGeometry->uniqueWellPathPoints();
|
||||
const std::vector<double>& mds = wellPathGeometry->uniqueMeasuredDepths();
|
||||
CVF_ASSERT( !coords.empty() && !mds.empty() );
|
||||
if ( coords.empty() || mds.empty() ) return {};
|
||||
|
||||
const RigMainGrid* mainGrid = eclipseCase->mainGrid();
|
||||
|
||||
|
||||
Reference in new issue
Block a user