diff options
Diffstat (limited to 'Source/WarpX.cpp')
-rw-r--r-- | Source/WarpX.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp index 116600c8b..91174ee0b 100644 --- a/Source/WarpX.cpp +++ b/Source/WarpX.cpp @@ -693,7 +693,7 @@ WarpX::AllocLevelData (int lev, const BoxArray& ba, const DistributionMapping& d int ngz_nonci = (ngz_tmp % 2) ? ngz_tmp+1 : ngz_tmp; // Always even number int ngz; if (WarpX::use_fdtd_nci_corr) { - int ng = ngz_tmp + NCIGodfreyFilter::stencil_width; + int ng = ngz_tmp + NCIGodfreyFilter::m_stencil_width; ngz = (ng % 2) ? ng+1 : ng; } else { ngz = ngz_nonci; |