diff --git a/ExampleCodes/FFT/Basic/main.cpp b/ExampleCodes/FFT/Basic/main.cpp index b0702fc7..bac3a176 100644 --- a/ExampleCodes/FFT/Basic/main.cpp +++ b/ExampleCodes/FFT/Basic/main.cpp @@ -132,7 +132,7 @@ int main (int argc, char* argv[]) Real x = prob_lo_x + (i+0.5) * dx[0]; Real y = prob_lo_y + (j+0.5) * dx[1]; -#if (AMREX_SPACEDIM == 2) +#if (AMREX_SPACEDIM == 2) phi_ptr(i,j,k) = std::exp(-10.*((x-cen_x)*(x-cen_x)+(y-cen_y)*(y-cen_y))); #elif (AMREX_SPACEDIM == 3) Real z = prob_lo_z + (k+0.5) * dx[2];