aboutsummaryrefslogtreecommitdiff
path: root/Source/Laser/LaserParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar WeiqunZhang <WeiqunZhang@lbl.gov> 2019-09-11 15:29:15 -0700
committerGravatar GitHub <noreply@github.com> 2019-09-11 15:29:15 -0700
commit6b56307c404ce337f71cfa696bacdd98e9fafae8 (patch)
tree1b49ae11e19a7c3efb1fab2d09749d457224f70b /Source/Laser/LaserParticleContainer.cpp
parent54ae07546fd5fd8fe3fa11cc3031f5140a1d2949 (diff)
parent9a03e6fdceb566fbe59a245aedac7c1f6c1d3b29 (diff)
downloadWarpX-6b56307c404ce337f71cfa696bacdd98e9fafae8.tar.gz
WarpX-6b56307c404ce337f71cfa696bacdd98e9fafae8.tar.zst
WarpX-6b56307c404ce337f71cfa696bacdd98e9fafae8.zip
Merge pull request #337 from ax3l/topic-constCorrectness
LaserParticleContainer: Const Correctness
Diffstat (limited to 'Source/Laser/LaserParticleContainer.cpp')
-rw-r--r--Source/Laser/LaserParticleContainer.cpp2
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)
{