aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/MultiDiagnostics.cpp
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2023-08-01 13:38:19 +0200
committerGravatar GitHub <noreply@github.com> 2023-08-01 13:38:19 +0200
commit0aa12461bd956e9e9a08e0ac3b8e2c2263aa7661 (patch)
tree3a96aabdc6ad518c2d1300800aaa8ee2cafebba3 /Source/Diagnostics/MultiDiagnostics.cpp
parent63dc76ff15c1c8660f30e1ff1cfcb9c2f04db814 (diff)
downloadWarpX-0aa12461bd956e9e9a08e0ac3b8e2c2263aa7661.tar.gz
WarpX-0aa12461bd956e9e9a08e0ac3b8e2c2263aa7661.tar.zst
WarpX-0aa12461bd956e9e9a08e0ac3b8e2c2263aa7661.zip
Clang tidy CI test: add several readability checks to clang tidy CI test (#4124)
* add few readability checks to clang-tidy CI test * address all the issues found with clang-tidy * fix bug * fixed bug * fix residual issue * fix issue found with clang-tidy
Diffstat (limited to 'Source/Diagnostics/MultiDiagnostics.cpp')
-rw-r--r--Source/Diagnostics/MultiDiagnostics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Diagnostics/MultiDiagnostics.cpp b/Source/Diagnostics/MultiDiagnostics.cpp
index d026314ff..5a50dfb65 100644
--- a/Source/Diagnostics/MultiDiagnostics.cpp
+++ b/Source/Diagnostics/MultiDiagnostics.cpp
@@ -81,7 +81,7 @@ MultiDiagnostics::FilterComputePackFlush (int step, bool force_flush, bool BackT
{
int i = 0;
for (auto& diag : alldiags){
- if (BackTransform == true) {
+ if (BackTransform) {
if (diags_types[i] == DiagTypes::BackTransformed)
diag->FilterComputePackFlush (step, force_flush);
} else {