diff --git a/ApplicationLibCode/GeoMech/GeoMechDataModel/RigFemPartResultCalculatorNormalST.cpp b/ApplicationLibCode/GeoMech/GeoMechDataModel/RigFemPartResultCalculatorNormalST.cpp index 880b71fe79..dca97f79b2 100644 --- a/ApplicationLibCode/GeoMech/GeoMechDataModel/RigFemPartResultCalculatorNormalST.cpp +++ b/ApplicationLibCode/GeoMech/GeoMechDataModel/RigFemPartResultCalculatorNormalST.cpp @@ -81,10 +81,10 @@ RigFemScalarResultFrames* RigFemPartResultCalculatorNormalST::calculate( int constexpr float inf = std::numeric_limits::infinity(); - const int timeSteps = srcPORDataFrames->timeStepCount(); + const int timeSteps = srcSDataFrames->timeStepCount(); for ( int stepIdx = 0; stepIdx < timeSteps; stepIdx++ ) { - const int frameCount = srcPORDataFrames->frameCount( stepIdx ); + const int frameCount = srcSDataFrames->frameCount( stepIdx ); for ( int fIdx = 0; fIdx < frameCount; fIdx++ ) { const std::vector& srcSFrameData = srcSDataFrames->frameData( stepIdx, fIdx );