Build fix

This commit is contained in:
jonjenssen 2023-11-26 23:58:13 +01:00 committed by Kristian Bendiksen
parent 6421e09557
commit 34a77a8f20

View File

@ -280,7 +280,7 @@ void RigGriddedPart3d::generateGeometry( const std::array<cvf::Vec3d, 12>& input
m_meshLines.push_back( { fromPos, toPos } ); m_meshLines.push_back( { fromPos, toPos } );
for ( int h = 0; h <= nHorzCells; h++ ) for ( int h = 0; h <= (int)nHorzCells; h++ )
{ {
p = toPos - horizontalPartition[h] * stepHorz; p = toPos - horizontalPartition[h] * stepHorz;
@ -357,7 +357,7 @@ void RigGriddedPart3d::generateGeometry( const std::array<cvf::Vec3d, 12>& input
int i = layerIndexOffset; int i = layerIndexOffset;
for ( int h = 0; h < nHorzCells; h++ ) for ( int h = 0; h < (int)nHorzCells; h++ )
{ {
for ( int t = 0; t < nThicknessCells; t++, elementIdx++ ) for ( int t = 0; t < nThicknessCells; t++, elementIdx++ )
{ {