mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Refactor RimWellPath and RigWellPath
This commit is contained in:
@@ -652,7 +652,7 @@ RiaEclipseUnitTools::UnitSystemType RimWellPathCollection::findUnitSystemForWell
|
||||
const RigEclipseCaseData* eclipseCaseData = project->activeOilField()->analysisModels->cases()[0]->eclipseCaseData();
|
||||
cvf::BoundingBox caseBoundingBox = eclipseCaseData->mainGrid()->boundingBox();
|
||||
cvf::BoundingBox wellPathBoundingBox;
|
||||
for ( auto& wellPathPoint : wellPath->wellPathGeometry()->m_wellPathPoints )
|
||||
for ( const auto& wellPathPoint : wellPath->wellPathGeometry()->wellPathPoints() )
|
||||
{
|
||||
wellPathBoundingBox.add( wellPathPoint );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user