Update to changed api.

This commit is contained in:
Kristian Bendiksen 2024-12-02 10:18:29 +01:00
parent 20db9141f2
commit 1466178cbc

View File

@ -640,7 +640,7 @@ void RigWellTargetCandidatesGenerator::generateEnsembleCandidates( RimEclipseCas
for ( size_t targetCellIdx = 0; targetCellIdx < targetNumReservoirCells; targetCellIdx++ )
{
const RigCell& nativeCell = targetCase.mainGrid()->globalCellArray()[targetCellIdx];
const RigCell& nativeCell = targetCase.mainGrid()->cell( targetCellIdx );
cvf::Vec3d cellCenter = nativeCell.center();
size_t targetResultIndex = targetActiveCellInfo->cellResultIndex( targetCellIdx );