mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1858 Guard against zero size laterals
This commit is contained in:
parent
1f7c153d5a
commit
8efcccf5c4
@ -864,6 +864,11 @@ void RicWellPathExportCompletionDataFeature::assignLateralIntersections(const Ri
|
|||||||
|
|
||||||
std::vector<std::pair<cvf::Vec3d, double> > lateralCoordMDPairs = location->fishbonesSubs->coordsAndMDForLateral(location->subIndex, lateral.lateralIndex);
|
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<cvf::Vec3d> lateralCoords;
|
||||||
std::vector<double> lateralMDs;
|
std::vector<double> lateralMDs;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user