Skip to content

Commit

Permalink
Fix type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed Dec 17, 2023
1 parent a6e5797 commit b2470c5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ApplicationLibCode/ProjectDataModel/RimEmCase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ bool RimEmCase::openEclipseGridFile()
kjiNumCells[0] = emData.ijkNumCells[2];
kjiNumCells[2] = emData.ijkNumCells[0];

for ( size_t k = 0; k < kjiNumCells[0]; k++ )
for ( int k = 0; k < kjiNumCells[0]; k++ )
{
for ( size_t j = 0; j < kjiNumCells[1]; j++ )
for ( int j = 0; j < kjiNumCells[1]; j++ )
{
for ( size_t i = 0; i < kjiNumCells[2]; i++ )
for ( int i = 0; i < kjiNumCells[2]; i++ )
{
reorganizedData.push_back( data[k + j * kjiNumCells[0] + i * kjiNumCells[0] * kjiNumCells[1]] );
}
Expand Down
2 changes: 2 additions & 0 deletions ApplicationLibCode/ReservoirDataModel/RigReservoirBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ void RigReservoirBuilder::createGridsAndCells( RigEclipseCaseData* eclipseCase )
activeCellInfo->setGridCount( 1 );
activeCellInfo->setGridActiveCellCounts( 0, eclipseCase->mainGrid()->globalCellArray().size() );
activeCellInfo->computeDerivedData();

eclipseCase->computeActiveCellBoundingBoxes();
}

//--------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit b2470c5

Please sign in to comment.