diff --git a/src/engine.c b/src/engine.c
index 605bd6b6e4c075da538720b43ca17908cc7205cf..f728862487f1666302dd10c5b1bb7c128ae0a0ee 100644
--- a/src/engine.c
+++ b/src/engine.c
@@ -1989,7 +1989,8 @@ void engine_rebuild(struct engine *e, int repartitioned,
   space_rebuild(e->s, repartitioned, e->verbose);
 
   /* Update the global counters of particles */
-  long long num_particles[3] = {(long long)e->s->nr_parts, (long long)e->s->nr_gparts,
+  long long num_particles[3] = {(long long)e->s->nr_parts,
+                                (long long)e->s->nr_gparts,
                                 (long long)e->s->nr_sparts};
 #ifdef WITH_MPI
   MPI_Allreduce(MPI_IN_PLACE, num_particles, 3, MPI_LONG_LONG, MPI_SUM,
diff --git a/src/runner_doiact_grav.h b/src/runner_doiact_grav.h
index 136e03d3bd33644bbc40c5b1fb3f47e0808c558e..5bcd57d643911703bc0f4e19f17fdb63a11a5c12 100644
--- a/src/runner_doiact_grav.h
+++ b/src/runner_doiact_grav.h
@@ -697,7 +697,8 @@ static INLINE void runner_dopair_grav_pp(struct runner *r, struct cell *ci,
   /* Recover some useful constants */
   const struct engine *e = r->e;
   const int periodic = e->mesh->periodic;
-  const float dim[3] = {(float)e->mesh->dim[0], (float)e->mesh->dim[1], (float)e->mesh->dim[2]};
+  const float dim[3] = {(float)e->mesh->dim[0], (float)e->mesh->dim[1],
+                        (float)e->mesh->dim[2]};
   const float r_s_inv = e->mesh->r_s_inv;
   const double min_trunc = e->mesh->r_cut_min;
 
@@ -1406,7 +1407,8 @@ static INLINE void runner_dopair_recursive_grav_pm(struct runner *r,
   /* Some constants */
   const struct engine *e = r->e;
   const int periodic = e->mesh->periodic;
-  const float dim[3] = {(float)e->mesh->dim[0], (float)e->mesh->dim[1], (float)e->mesh->dim[2]};
+  const float dim[3] = {(float)e->mesh->dim[0], (float)e->mesh->dim[1],
+                        (float)e->mesh->dim[2]};
   const float r_s_inv = e->mesh->r_s_inv;
 
   /* Anything to do here? */