Skip to content

Commit

Permalink
Fix const
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgrote committed Jun 5, 2024
1 parent 203dbb4 commit a7a41ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Diagnostics/ReducedDiags/ParticleExtrema.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ void ParticleExtrema::ComputeDiags (int step)
amrex::Real ymax = amrex::get<6>(posminmax);
amrex::Real zmax = amrex::get<7>(posminmax);

amrex::Real gfactor = (is_photon ? 0._rt : 1._rt);
amrex::Real const gfactor = (is_photon ? 0._rt : 1._rt);
auto uminmax = amrex::ParticleReduce<amrex::ReduceData<amrex::Real, amrex::Real, amrex::Real, amrex::Real,
amrex::Real, amrex::Real, amrex::Real, amrex::Real>>(
myspc,
Expand Down

0 comments on commit a7a41ad

Please sign in to comment.