mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-01 08:38:00 -06:00
#5101 clang-format: Adjusted penalties
Use lower absolute values to improve control of behavior
This commit is contained in:
1 parent
10f0abc9b5
commit
c82df63e10
710 files changed
+3167
-4721
No files matched your search
@@ -46,8 +46,8 @@ double RigActiveCellsResultAccessor::cellScalar( size_t gridLocalCellIndex ) con
|
||||
|
||||
if ( resultValueIndex < m_reservoirResultValues->size() ) return m_reservoirResultValues->at( resultValueIndex );
|
||||
|
||||
CVF_TIGHT_ASSERT( resultValueIndex <
|
||||
m_activeCellInfo->reservoirActiveCellCount() ); // Because some static results might lack LGR data
|
||||
CVF_TIGHT_ASSERT( resultValueIndex < m_activeCellInfo->reservoirActiveCellCount() ); // Because some static results
|
||||
// might lack LGR data
|
||||
|
||||
return HUGE_VAL;
|
||||
}
|
||||
@@ -73,8 +73,8 @@ double RigActiveCellsResultAccessor::cellScalarGlobIdx( size_t reservoirCellInde
|
||||
|
||||
if ( resultValueIndex < m_reservoirResultValues->size() ) return m_reservoirResultValues->at( resultValueIndex );
|
||||
|
||||
CVF_TIGHT_ASSERT( resultValueIndex <
|
||||
m_activeCellInfo->reservoirActiveCellCount() ); // Because some static results might lack LGR data
|
||||
CVF_TIGHT_ASSERT( resultValueIndex < m_activeCellInfo->reservoirActiveCellCount() ); // Because some static results
|
||||
// might lack LGR data
|
||||
|
||||
return HUGE_VAL;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user