mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6308 Shear slip indicator : Fix logic in isMatching
Co-authored-by: Kristian Bendiksen <kristian.bendiksen@gmail.com>
This commit is contained in:
@@ -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" );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user