mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
#1858 Guard against zero size laterals
This commit is contained in:
1 parent
1f7c153d5a
commit
8efcccf5c4
1 file changed
+5
@@ -864,6 +864,11 @@ void RicWellPathExportCompletionDataFeature::assignLateralIntersections(const Ri
|
||||
|
||||
std::vector<std::pair<cvf::Vec3d, double> > lateralCoordMDPairs = location->fishbonesSubs->coordsAndMDForLateral(location->subIndex, lateral.lateralIndex);
|
||||
|
||||
if ( !lateralCoordMDPairs.size() )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
std::vector<cvf::Vec3d> lateralCoords;
|
||||
std::vector<double> lateralMDs;
|
||||
|
||||
|
||||
Reference in new issue
Block a user