From 42ce77e0e0b81f3c2424c094fdf124c30a442c01 Mon Sep 17 00:00:00 2001 From: Erik Palmer Date: Fri, 1 Jul 2022 17:09:37 -0400 Subject: [PATCH] Carry over fix for ngbxy.smallEnd typo --- Tests/Amr/Advection_AmrCore/Source/DefineVelocity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Amr/Advection_AmrCore/Source/DefineVelocity.cpp b/Tests/Amr/Advection_AmrCore/Source/DefineVelocity.cpp index 995393e05f8..4dc1076dec8 100644 --- a/Tests/Amr/Advection_AmrCore/Source/DefineVelocity.cpp +++ b/Tests/Amr/Advection_AmrCore/Source/DefineVelocity.cpp @@ -39,7 +39,7 @@ AmrCoreAdv::DefineVelocityAtLevel (int lev, Real time) facevel[lev][2].array(mfi)) }; const Box& psibox = Box(IntVect(AMREX_D_DECL(std::min(ngbxx.smallEnd(0)-1, ngbxy.smallEnd(0)-1), - std::min(ngbxx.smallEnd(1)-1, ngbxy.smallEnd(0)-1), + std::min(ngbxx.smallEnd(1)-1, ngbxy.smallEnd(1)-1), 0)), IntVect(AMREX_D_DECL(std::max(ngbxx.bigEnd(0), ngbxy.bigEnd(0)+1), std::max(ngbxx.bigEnd(1)+1, ngbxy.bigEnd(1)),