Use updated API for total cell count

This commit is contained in:
Magne Sjaastad 2024-10-29 15:44:05 +01:00 committed by jonjenssen
parent 8a2a1c218b
commit 2154c0ae3b

View File

@ -668,7 +668,7 @@ bool RifEclipseOutputFileTools::assignActiveCellData( std::vector<std::vector<in
}
// Check if number of cells is matching
if ( eclipseCaseData->mainGrid()->reservoirCells().size() != reservoirCellCount )
if ( eclipseCaseData->mainGrid()->totalCellCount() != reservoirCellCount )
{
return false;
}