From 0aa12461bd956e9e9a08e0ac3b8e2c2263aa7661 Mon Sep 17 00:00:00 2001 From: Luca Fedeli Date: Tue, 1 Aug 2023 13:38:19 +0200 Subject: 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 --- Source/Particles/LaserParticleContainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Particles/LaserParticleContainer.cpp') diff --git a/Source/Particles/LaserParticleContainer.cpp b/Source/Particles/LaserParticleContainer.cpp index 73e27b3c5..6fb8aa974 100644 --- a/Source/Particles/LaserParticleContainer.cpp +++ b/Source/Particles/LaserParticleContainer.cpp @@ -655,7 +655,7 @@ LaserParticleContainer::Evolve (int lev, WARPX_PROFILE_VAR_STOP(blp_pp); // Current Deposition - if (skip_deposition == false) + if (!skip_deposition) { // Deposit at t_{n+1/2} const amrex::Real relative_time = -0.5_rt * dt; -- cgit v1.2.3