mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Extractor: Fix crash when well path does not intersect any cells
This commit is contained in:
@@ -44,6 +44,7 @@ RigWellLogExtractor::~RigWellLogExtractor()
|
||||
std::vector<CellIntersectionInfo> RigWellLogExtractor::intersectionInfo() const
|
||||
{
|
||||
std::vector<CellIntersectionInfo> infoVector;
|
||||
if (m_intersectedCellsGlobIdx.empty()) return infoVector;
|
||||
|
||||
for (size_t i = 0; i < m_intersectedCellsGlobIdx.size() - 1; i=i+2)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user