mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 15:10:22 -05:00
Fixes by clang-tidy
This commit is contained in:
1 parent
52f9cdf777
commit
deda7c2ba5
1 file changed
+1
-1
@@ -200,7 +200,7 @@ std::vector<Peak>
|
||||
|
||||
// Zero prominence: flat shoulders and plateaus are not peaks. Only a single isolated cell (no other
|
||||
// data to compare against) is kept as a legitimate, if trivial, peak.
|
||||
if ( prominence[k] <= 0.0 && !( isSurvivingRoot[k] && regionSize[k] == 1 ) ) continue;
|
||||
if ( prominence[k] <= 0.0 && ( !isSurvivingRoot[k] || regionSize[k] != 1 ) ) continue;
|
||||
|
||||
const int i = k % nx;
|
||||
const int j = k / nx;
|
||||
|
||||
Reference in new issue
Block a user