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