diff --git a/src/multipole.h b/src/multipole.h index a34af3bbd8c287c026d079ceb3259bb11a3d6652..4c90b5cf516ae9fd84cea58344a8ad4a6f8b7673 100644 --- a/src/multipole.h +++ b/src/multipole.h @@ -606,7 +606,7 @@ INLINE static int gravity_multipole_equal(const struct gravity_tensors *ga, return 0; } #endif -#if SELF_GRAVITY_MULTIPOLE_ORDER > 2 +#if SELF_GRAVITY_MULTIPOLE_ORDER > 3 /* Check 4th order terms */ if (fabsf(ma->M_400 + mb->M_400) > 1e-6 * ma->M_000 && fabsf(ma->M_400 - mb->M_400) / fabsf(ma->M_400 + mb->M_400) > tolerance) {