mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Refactor result definition
This commit is contained in:
@@ -108,7 +108,7 @@ RigFemScalarResultFrames* RigFemPartResultCalculatorNormalST::calculate( int par
|
||||
const size_t elmNodResIdx = femPart->elementNodeResultIdx( elmIdx, elmNodIdx );
|
||||
const int nodeIdx = femPart->nodeIdxFromElementNodeResultIdx( elmNodResIdx );
|
||||
float por = 0.0f;
|
||||
if ( nodeIdx < srcPORFrameData.size() )
|
||||
if ( nodeIdx < static_cast<int>( srcPORFrameData.size() ) )
|
||||
{
|
||||
por = srcPORFrameData[nodeIdx];
|
||||
if ( por == inf ) por = 0.0f;
|
||||
|
||||
Reference in New Issue
Block a user