Skip to content

Commit

Permalink
Fix const
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgrote committed Dec 12, 2024
1 parent ee0bd78 commit 0059236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Diagnostics/ReducedDiags/FieldEnergy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ FieldEnergy::ComputeNorm2(amrex::MultiFab const& field, int lev)
amrex::Array4<const amrex::Real> const& field_arr = field.array(mfi);

amrex::Box const tilebox = mfi.tilebox();
amrex::Box tb = convert(tilebox, is_nodal);
amrex::Box const tb = convert(tilebox, is_nodal);

#if defined(WARPX_DIM_RZ)
// Lower corner of tile box physical domain
Expand Down

0 comments on commit 0059236

Please sign in to comment.