Commit 26b13ce7 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Code formatting

parent 73a09c7a
......@@ -1147,10 +1147,10 @@ void runner_dopair1_density_vec(struct runner *r, struct cell *ci,
#ifdef SWIFT_DEBUG_CHECKS
/* Check that particles have been drifted to the current time */
for(int pid = 0; pid < count_i; pid++)
for (int pid = 0; pid < count_i; pid++)
if (parts_i[pid].ti_drift != e->ti_current)
error("Particle pi not drifted to current time");
for(int pjd = 0; pjd < count_j; pjd++)
for (int pjd = 0; pjd < count_j; pjd++)
if (parts_j[pjd].ti_drift != e->ti_current)
error("Particle pj not drifted to current time");
#endif
......@@ -1498,10 +1498,10 @@ void runner_dopair2_force_vec(struct runner *r, struct cell *ci,
#ifdef SWIFT_DEBUG_CHECKS
/* Check that particles have been drifted to the current time */
for(int pid = 0; pid < count_i; pid++)
for (int pid = 0; pid < count_i; pid++)
if (parts_i[pid].ti_drift != e->ti_current)
error("Particle pi not drifted to current time");
for(int pjd = 0; pjd < count_j; pjd++)
for (int pjd = 0; pjd < count_j; pjd++)
if (parts_j[pjd].ti_drift != e->ti_current)
error("Particle pj not drifted to current time");
#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