From 355d99166085a7c7800533301535a2ff82d28a39 Mon Sep 17 00:00:00 2001 From: Dave Grote Date: Mon, 10 Jun 2024 14:07:27 -0700 Subject: [PATCH] Add const --- Source/FieldSolver/SpectralSolver/SpectralFieldDataRZ.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/FieldSolver/SpectralSolver/SpectralFieldDataRZ.cpp b/Source/FieldSolver/SpectralSolver/SpectralFieldDataRZ.cpp index 10f20deed48..d295d61b43a 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralFieldDataRZ.cpp +++ b/Source/FieldSolver/SpectralSolver/SpectralFieldDataRZ.cpp @@ -199,7 +199,7 @@ SpectralFieldDataRZ::SpectralFieldDataRZ (const int lev, #endif // Create the Hankel transformer for each box. - amrex::XDim3 xyzmax = WarpX::UpperCorner(mfi.tilebox(), lev, 0._rt); + amrex::XDim3 const xyzmax = WarpX::UpperCorner(mfi.tilebox(), lev, 0._rt); multi_spectral_hankel_transformer[mfi] = SpectralHankelTransformer(grid_size[0], n_rz_azimuthal_modes, xyzmax.x); } }