Commit 79fe1127 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Minor style fixes

parent fe01ea44
......@@ -325,9 +325,8 @@ void gravity_exact_force_ewald_init(const double boxSize) {
* @param corr_f (return) The Ewald correction for the force.
* @param corr_p (return) The Ewald correction for the potential.
*/
void gravity_exact_force_ewald_evaluate(const double rx, const double ry,
const double rz, double corr_f[3],
double *corr_p) {
void gravity_exact_force_ewald_evaluate(double rx, double ry, double rz,
double corr_f[3], double *corr_p) {
#ifdef SWIFT_GRAVITY_FORCE_CHECKS
......
......@@ -220,7 +220,7 @@ kernel_long_grav_force_eval_double(const double u, double *const W) {
#ifdef SWIFT_GRAVITY_FORCE_CHECKS
#ifdef GADGET2_LONG_RANGE_CORRECTION
const double one_over_sqrt_pi = ((double)(M_2_SQRTPI * 0.5));
const double one_over_sqrt_pi = M_2_SQRTPI * 0.5;
const double arg1 = u * 0.5;
const double arg2 = -arg1 * arg1;
......
......@@ -97,7 +97,7 @@ struct grav_tensor {
/* Number of gparts interacted through the tree. */
long long num_interacted_tree;
/* Number of gparts interacted through the grid. */
/* Number of gparts interacted through the FFT mesh */
long long num_interacted_pm;
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment