diff --git a/Utils/hydro_utils.cpp b/Utils/hydro_utils.cpp index afd362337..ba52086d6 100644 --- a/Utils/hydro_utils.cpp +++ b/Utils/hydro_utils.cpp @@ -46,7 +46,7 @@ HydroUtils::ComputeFluxes ( Box const& bx, // X flux // const Box& xbx = amrex::surroundingNodes(bx,0); - amrex::ParallelFor(xbx, ncomp, [fx, umac, xed, ax, fluxes_are_area_weightediconserv] + amrex::ParallelFor(xbx, ncomp, [fx, umac, xed, ax, fluxes_are_area_weighted, iconserv] AMREX_GPU_DEVICE (int i, int j, int k, int n) noexcept { if (fluxes_are_area_weighted) {