mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Update to changed api.
This commit is contained in:
parent
20db9141f2
commit
1466178cbc
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user