mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix compile warning in GeoMechContourMapProjection
This commit is contained in:
parent
f0731ace6f
commit
3fddca093e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user