diff --git a/src/runner_doiact_fft.c b/src/runner_doiact_fft.c index 1bc3846531504087c1f696f8b3d8eeb6c88dfe71..9bb5f799de5433f67bb3898291c6b55df31f1249 100644 --- a/src/runner_doiact_fft.c +++ b/src/runner_doiact_fft.c @@ -222,7 +222,8 @@ void runner_do_grav_fft(struct runner* r, int timer) { /* Some common factors */ const double green_fac = -1. / (M_PI * box_size); - const double a_smooth2 = 4. * M_PI * a_smooth * a_smooth / ((double)(N * N)); + const double a_smooth2 = + 4. * M_PI * M_PI * a_smooth * a_smooth / ((double)(N * N)); const double k_fac = M_PI / (double)N; /* Now de-convolve the CIC kernel and apply the Green function */