mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 08:25:03 -05:00
Fix compile warning in GeoMechContourMapProjection
This commit is contained in:
1 parent
f0731ace6f
commit
3fddca093e
1 file changed
+1
-1
@@ -448,7 +448,7 @@ double RimGeoMechContourMapProjection::getParameterWeightForCell(size_t
|
||||
std::vector<double> RimGeoMechContourMapProjection::gridCellValues(RigFemResultAddress resAddr, std::vector<float>& resultValues) const
|
||||
{
|
||||
std::vector<double> gridCellValues(m_femPart->elementCount(), std::numeric_limits<double>::infinity());
|
||||
for (size_t globalCellIdx = 0; globalCellIdx < m_femPart->elementCount(); ++globalCellIdx)
|
||||
for (size_t globalCellIdx = 0; globalCellIdx < static_cast<size_t>(m_femPart->elementCount()); ++globalCellIdx)
|
||||
{
|
||||
RigElementType elmType = m_femPart->elementType(globalCellIdx);
|
||||
if (!(elmType == HEX8 || elmType == HEX8P)) continue;
|
||||
|
||||
Reference in new issue
Block a user