mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Return pair of vectors and rename
This commit is contained in:
@@ -184,8 +184,7 @@ void RimCellRangeFilter::setDefaultValues( int sliceDirection, int defaultSlice
|
||||
|
||||
if ( grid == mainGrid && actCellInfo )
|
||||
{
|
||||
cvf::Vec3st min, max;
|
||||
actCellInfo->IJKBoundingBox( min, max );
|
||||
auto [min, max] = actCellInfo->ijkBoundingBox();
|
||||
|
||||
// Adjust to Eclipse indexing
|
||||
min.x() = min.x() + 1;
|
||||
@@ -280,8 +279,7 @@ void RimCellRangeFilter::defineUiOrdering( QString uiConfigName, caf::PdmUiOrder
|
||||
|
||||
if ( grid == mainGrid && actCellInfo )
|
||||
{
|
||||
cvf::Vec3st min, max;
|
||||
actCellInfo->IJKBoundingBox( min, max );
|
||||
auto [min, max] = actCellInfo->ijkBoundingBox();
|
||||
|
||||
// Adjust to Eclipse indexing
|
||||
min.x() = min.x() + 1;
|
||||
|
||||
Reference in New Issue
Block a user