#6308 Shear slip indicator : Fix logic in isMatching

Co-authored-by: Kristian Bendiksen <kristian.bendiksen@gmail.com>
This commit is contained in:
Magne Sjaastad
2020-08-25 09:27:06 +02:00
parent 88c25631d1
commit 6dec2aa1ef

View File

@@ -50,7 +50,7 @@ RigFemPartResultCalculatorShearSlipIndicator::~RigFemPartResultCalculatorShearSl
//--------------------------------------------------------------------------------------------------
bool RigFemPartResultCalculatorShearSlipIndicator::isMatching( const RigFemResultAddress& resVarAddr ) const
{
return ( resVarAddr.fieldName == "ST" || resVarAddr.componentName == "DPN" );
return ( resVarAddr.fieldName == "ST" && resVarAddr.componentName == "DPN" );
}
//--------------------------------------------------------------------------------------------------