From 3bae89aeed3bd8afebdef590e9f6dfb8fdd09254 Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Mon, 22 Feb 2016 10:27:06 +0000 Subject: [PATCH] Code formatting --- src/runner.c | 5 ++--- src/serial_io.c | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/runner.c b/src/runner.c index 489b2148a9..d557d8e875 100644 --- a/src/runner.c +++ b/src/runner.c @@ -912,8 +912,8 @@ void runner_dokick(struct runner *r, struct cell *c, int timer) { /* Extra kick work */ hydro_kick_extra(p, xp, dt, half_dt); - /* Number of updated particles */ - updated++; + /* Number of updated particles */ + updated++; } /* Now collect quantities for statistics */ @@ -944,7 +944,6 @@ void runner_dokick(struct runner *r, struct cell *c, int timer) { /* Minimal time for next end of time-step */ ti_end_min = min(p->ti_end, ti_end_min); ti_end_max = max(p->ti_end, ti_end_max); - } } diff --git a/src/serial_io.c b/src/serial_io.c index 90e814550d..e0d611bb3a 100644 --- a/src/serial_io.c +++ b/src/serial_io.c @@ -653,7 +653,7 @@ void write_output_serial(struct engine* e, struct UnitSystem* us, int mpi_rank, } /* Write footer of LXMF file descriptor */ - if (mpi_rank == 0) writeXMFfooter(xmfFile); + if (mpi_rank == 0) writeXMFfooter(xmfFile); /* message("Done writing particles..."); */ ++outputCount; -- GitLab