From dca42b0595af6d65606b94c39dab2444c5f14b6f Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Mon, 3 Apr 2017 13:27:33 +0800 Subject: [PATCH] Code formatting --- src/cell.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cell.c b/src/cell.c index ceac0379e3..d4cea2b09e 100644 --- a/src/cell.c +++ b/src/cell.c @@ -1157,7 +1157,8 @@ void cell_check_multipole(struct cell *c, void *data) { /* Now compare the multipole expansion */ if (!gravity_multipole_equal(&ma, c->multipole, tolerance)) { - message("Multipoles are not equal at depth=%d! tol=%f", c->depth, tolerance); + message("Multipoles are not equal at depth=%d! tol=%f", c->depth, + tolerance); message("Correct answer:"); gravity_multipole_print(&ma.m_pole); message("Recursive multipole:"); @@ -1504,10 +1505,9 @@ void cell_drift_all_multipoles(struct cell *c, const struct engine *e) { /* Check that we are actually going to move forward. */ if (ti_current < ti_old_multipole) error("Attempt to drift to the past"); - + /* Drift the multipole */ - if (ti_current > ti_old_multipole) - gravity_drift(c->multipole, dt); + if (ti_current > ti_old_multipole) gravity_drift(c->multipole, dt); /* Are we not in a leaf ? */ if (c->split) { -- GitLab