diff --git a/src/runner.c b/src/runner.c index 489b2148a9b12b34f17e23738c874539936674fa..d557d8e875a197b9e7f4f542760b54e49ed0608b 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 90e814550d2f83526cb1b5f595364e9476d864c5..e0d611bb3a8028c3e59bba8494756f8a90e0c111 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;