Skip to content
Snippets Groups Projects
Commit c76e11b0 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Fix typo in order 5 softened gravity

parent 2c38c6d6
No related branches found
No related tags found
1 merge request!1077Improved multipole acceptance criterion (MAC)
...@@ -263,7 +263,7 @@ potential_derivatives_compute_M2L(const float r_x, const float r_y, ...@@ -263,7 +263,7 @@ potential_derivatives_compute_M2L(const float r_x, const float r_y,
#endif #endif
#if SELF_GRAVITY_MULTIPOLE_ORDER > 4 #if SELF_GRAVITY_MULTIPOLE_ORDER > 4
const float eps_inv6 = eps_inv5 * eps_inv; const float eps_inv6 = eps_inv5 * eps_inv;
Dt_7 = eps_inv6 * D_soft_6(u); Dt_6 = eps_inv6 * D_soft_6(u);
#endif #endif
#if SELF_GRAVITY_MULTIPOLE_ORDER > 5 #if SELF_GRAVITY_MULTIPOLE_ORDER > 5
#error "Missing implementation for order >5" #error "Missing implementation for order >5"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment