Skip to content

Commit

Permalink
Update to changed api.
Browse files Browse the repository at this point in the history
  • Loading branch information
kriben committed Dec 4, 2024
1 parent 9ed68d4 commit 22aedaa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 22aedaa

Please sign in to comment.