Use updated API for total cell count

This commit is contained in:
Magne Sjaastad authored and jonjenssen committed 2024-10-29 18:17:31 +01:00
1 parent 8a2a1c218b
commit 2154c0ae3b
1 file changed
+1 -1
@@ -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;
}