From bb58c764f9f21f8baac5e2fb1d81fed4983d1242 Mon Sep 17 00:00:00 2001 From: Luca Fedeli Date: Mon, 24 Aug 2020 23:14:30 +0200 Subject: Fix some warnings (#1239) This PR fixes the source of several compilation warnings. Co-authored-by: Axel Huebl --- Source/Parallelization/GuardCellManager.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Source/Parallelization/GuardCellManager.cpp') diff --git a/Source/Parallelization/GuardCellManager.cpp b/Source/Parallelization/GuardCellManager.cpp index a4a3e78e2..05ea700d8 100644 --- a/Source/Parallelization/GuardCellManager.cpp +++ b/Source/Parallelization/GuardCellManager.cpp @@ -8,6 +8,7 @@ #include "Filter/NCIGodfreyFilter.H" #include #include +#include using namespace amrex; @@ -111,10 +112,10 @@ guardCellManager::Init( pp.query("ny_guard", ngFFt_y); pp.query("nz_guard", ngFFt_z); -#if (AMREX_SPACEDIM == 3) - IntVect ngFFT = IntVect(ngFFt_x, ngFFt_y, ngFFt_z); +#if (AMREX_SPACEDIM == 3) + IntVect ngFFT = IntVect(ngFFt_x, ngFFt_y, ngFFt_z); #elif (AMREX_SPACEDIM == 2) - IntVect ngFFT = IntVect(ngFFt_x, ngFFt_z); + IntVect ngFFT = IntVect(ngFFt_x, ngFFt_z); #endif for (int i_dim=0; i_dim(aux_is_nodal and !do_nodal)); -- cgit v1.2.3