#1858 Guard against zero size laterals

This commit is contained in:
Jacob Støren 2017-12-13 11:24:48 +01:00
parent 1f7c153d5a
commit 8efcccf5c4

View File

@ -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;