aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/LaserParticleContainer.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/Particles/LaserParticleContainer.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/Particles/LaserParticleContainer.cpp')
-rw-r--r--Source/Particles/LaserParticleContainer.cpp2
1 files changed, 1 insertions, 1 deletions
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;