Skip to content

Commit

Permalink
merge with changes
Browse files Browse the repository at this point in the history
  • Loading branch information
asalmgren committed Jul 16, 2023
2 parents 86ff579 + 9fe3ff0 commit e182e35
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Src/AmrCore/AMReX_Interpolater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -749,13 +749,7 @@ CellConservativeProtected::protect (const FArrayBox& /*crse*/,
Vector<BCRec>& /*bcr*/,
RunOn runon)
{
AMREX_ALWAYS_ASSERT(ratio[0] > 1);
#if (AMREX_SPACEDIM >= 2)
AMREX_ALWAYS_ASSERT(ratio[1] > 1);
#endif
#if (AMREX_SPACEDIM == 3)
AMREX_ALWAYS_ASSERT(ratio[2] > 1);
#endif
AMREX_ALWAYS_ASSERT(ratio.allGT(IntVect(1)));

#if (AMREX_SPACEDIM == 1)
amrex::ignore_unused(fine,fine_state,
Expand Down

0 comments on commit e182e35

Please sign in to comment.