mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add readability-simplify-boolean-expr
* Add readability-simplify-boolean-expr * Fixes based on review
This commit is contained in:
@@ -531,7 +531,7 @@ std::vector<double> RimGeoMechContourMapProjection::gridCellValues( RigFemResult
|
||||
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;
|
||||
if ( elmType != HEX8 && elmType != HEX8P ) continue;
|
||||
|
||||
if ( resAddr.resultPosType == RIG_ELEMENT )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user