mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
Update clang-format.yml (#10068)
* Update to clang-format-15 Removed two custom .clang-format files in subfolders of AppFwk * Fixes by clang-format
This commit is contained in:
1 parent
310b54ef93
commit
952e766c2f
230 files changed
+2010
-2019
No files matched your search
@@ -293,7 +293,7 @@ void RigHistogramCalculator::addValue( double value )
|
||||
|
||||
size_t index = 0;
|
||||
|
||||
if ( m_maxIndex > 0 ) index = ( size_t )( m_maxIndex * ( value - m_min ) / m_range );
|
||||
if ( m_maxIndex > 0 ) index = (size_t)( m_maxIndex * ( value - m_min ) / m_range );
|
||||
|
||||
if ( index < m_histogram->size() ) // Just clip to the max min range (-index will overflow to positive )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user