Skip to content

Commit

Permalink
Build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jonjenssen committed Mar 8, 2024
1 parent 51b5911 commit 0e9c426
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ApplicationLibCode/ReservoirDataModel/RigGriddedPart3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -673,14 +673,14 @@ void RigGriddedPart3d::generateLocalNodes( const cvf::Mat4d transform )
//--------------------------------------------------------------------------------------------------
void RigGriddedPart3d::shiftNodes( const cvf::Vec3d offset )
{
for ( int i = 0; i < m_nodes.size(); i++ )
for ( int i = 0; i < (int)m_nodes.size(); i++ )
{
m_nodes[i] += offset;
}

for ( int i = 0; i < m_meshLines.size(); i++ )
for ( int i = 0; i < (int)m_meshLines.size(); i++ )
{
for ( int j = 0; j < m_meshLines[i].size(); j++ )
for ( int j = 0; j < (int)m_meshLines[i].size(); j++ )
{
m_meshLines[i][j] += offset;
}
Expand Down

0 comments on commit 0e9c426

Please sign in to comment.