#14153 Guard against empty well path geometry in MSW cell segment generation

This commit is contained in:
Magne Sjaastad committed 2026-06-08 16:16:40 +02:00
1 parent a1c4b06237
commit 59af9f51e9
1 file changed
+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();