mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 14:03:18 -06:00
Fixup after merge
This commit is contained in:
parent
9cd17ec508
commit
a3cbf7da85
@ -20,7 +20,6 @@
|
||||
|
||||
#include "RiaApplication.h"
|
||||
|
||||
#include "RigCaseData.h"
|
||||
#include "RigMainGrid.h"
|
||||
#include "RigTesselatorTools.h"
|
||||
|
||||
@ -125,7 +124,7 @@ cvf::Vec3d RimSimWellFracture::centerPointForFracture()
|
||||
objHandle->firstAncestorOrThisOfType(mainView);
|
||||
if (!mainView) return undef;
|
||||
|
||||
const RigMainGrid* mainGrid = mainView->eclipseCase()->reservoirData()->mainGrid();
|
||||
const RigMainGrid* mainGrid = mainView->mainGrid();
|
||||
if (!mainGrid) return undef;
|
||||
|
||||
size_t gridCellIndex = mainGrid->cellIndexFromIJK(m_i-1, m_j-1, m_k-1); // cellIndexFromIJK uses 0-based indexing
|
||||
|
Loading…
Reference in New Issue
Block a user