diff options
author | 2019-09-11 14:12:33 -0700 | |
---|---|---|
committer | 2019-09-11 14:12:33 -0700 | |
commit | 9a03e6fdceb566fbe59a245aedac7c1f6c1d3b29 (patch) | |
tree | 167a64a2612ba34bd5d92b966e96c5c918615942 /Source/Laser/LaserParticleContainer.cpp | |
parent | 0908fc1b8384767cad3bfd8e7bcf194eeba5ec29 (diff) | |
download | WarpX-9a03e6fdceb566fbe59a245aedac7c1f6c1d3b29.tar.gz WarpX-9a03e6fdceb566fbe59a245aedac7c1f6c1d3b29.tar.zst WarpX-9a03e6fdceb566fbe59a245aedac7c1f6c1d3b29.zip |
LaserParticleContainer: Const Correctness
A parameter here can be declared more strict with `const`.
Somehow the only const-correctness place I found with clang-tidy.
Diffstat (limited to 'Source/Laser/LaserParticleContainer.cpp')
-rw-r--r-- | Source/Laser/LaserParticleContainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Laser/LaserParticleContainer.cpp b/Source/Laser/LaserParticleContainer.cpp index d0ff51313..95099ae60 100644 --- a/Source/Laser/LaserParticleContainer.cpp +++ b/Source/Laser/LaserParticleContainer.cpp @@ -663,7 +663,7 @@ LaserParticleContainer::calculate_laser_plane_coordinates ( void LaserParticleContainer::update_laser_particle( const int np, Real * AMREX_RESTRICT const puxp, Real * AMREX_RESTRICT const puyp, - Real * AMREX_RESTRICT const puzp, Real * AMREX_RESTRICT const pwp, + Real * AMREX_RESTRICT const puzp, Real const * AMREX_RESTRICT const pwp, Real const * AMREX_RESTRICT const amplitude, const Real dt, const int thread_num) { |