diff --git a/Src/AmrCore/AMReX_Interp_C.H b/Src/AmrCore/AMReX_Interp_C.H index be03ce04c24..327f946219f 100644 --- a/Src/AmrCore/AMReX_Interp_C.H +++ b/Src/AmrCore/AMReX_Interp_C.H @@ -183,8 +183,8 @@ face_cons_linear_face_interp (int i, int j, int k, int n, Array4 const& fine, Real zoff = (static_cast(k - ck*ratio[2]) + Real(0.5)) / Real(ratio[2]) - Real(0.5); fine(i,j,k,n) += zoff * slope * sfz; } // ck - } // mask #endif // SPACEDIM >= 3 + } // mask } // dim == 1 #endif // SPACEDIM >= 2