Skip to content

Commit

Permalink
Carry over fix for ngbxy.smallEnd typo (AMReX-Codes#2868)
Browse files Browse the repository at this point in the history
This a typo that got correct in other places but didn't get fixed here.
  • Loading branch information
etpalmer63 authored Jul 1, 2022
1 parent d736ef2 commit 19c7068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Amr/Advection_AmrCore/Source/DefineVelocity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down

0 comments on commit 19c7068

Please sign in to comment.