diff --git a/Source/IO/Nyx_output.cpp b/Source/IO/Nyx_output.cpp index fdc708329..eac9c122a 100644 --- a/Source/IO/Nyx_output.cpp +++ b/Source/IO/Nyx_output.cpp @@ -1086,7 +1086,7 @@ Nyx::updateInSitu () #endif #ifdef REEBER - amrex::Vector& reeber_halos); + amrex::Vector reeber_halos; halo_find(parent->dtLevel(level), reeber_halos); halo_print(reeber_halos); #endif diff --git a/Util/reeber/src/reeber.cpp b/Util/reeber/src/reeber.cpp index 7e193c868..b758a5c3a 100644 --- a/Util/reeber/src/reeber.cpp +++ b/Util/reeber/src/reeber.cpp @@ -430,7 +430,7 @@ std::vector compute_halos(diy::mpi::communicator& world, new Block(b->fab, b->extra_names_, b->extra_fabs_, local_ref, local_lev, diy_domain, l->bounds(), l->core(), cp.gid(), - new_link, absolute_rho, negate, /*absolute = */ true, cell_volume), + new_link, absolute_rho, negate, /* wrap = */ true, /*absolute = */ true, cell_volume), new_link); //if (debug) fmt::print(std::cerr, "Added block gid = {}\n", cp.gid());