#3038 Remove code duplication

This commit is contained in:
Magne Sjaastad
2018-08-07 09:23:29 +02:00
parent 9617128464
commit 69d8d84612
4 changed files with 4 additions and 41 deletions

View File

@@ -228,7 +228,7 @@ std::set<size_t> RimFractureContainmentTools::fracturedCellsTruncatedByFaults(co
if (maximumFaultThrow > -1.0)
{
size_t anchorCellGlobalIndex = fracture->findAnchorEclipseCell(mainGrid);
size_t anchorCellGlobalIndex = mainGrid->findReservoirCellIndexFromPoint(fracture->anchorPosition());
appendNeighborCells(cellsIntersectingFracturePlane,
mainGrid,
anchorCellGlobalIndex,