From a2d15d3f74a52a6f70b8061a1391e2553ad322f5 Mon Sep 17 00:00:00 2001 From: Pedro Gonnet <gonnet@google.com> Date: Fri, 2 Nov 2018 10:18:32 +0100 Subject: [PATCH] formatting. --- src/cell.h | 3 ++- src/proxy.c | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/cell.h b/src/cell.h index 59011e0df4..526f33a9d8 100644 --- a/src/cell.h +++ b/src/cell.h @@ -850,7 +850,8 @@ __attribute__((always_inline)) INLINE static int cell_need_rebuild_for_pair( * * @param c The #cell to tag. */ -__attribute__((always_inline)) INLINE static void cell_ensure_tagged(struct cell *c) { +__attribute__((always_inline)) INLINE static void cell_ensure_tagged( + struct cell *c) { #ifdef WITH_MPI lock_lock(&c->hydro.lock); diff --git a/src/proxy.c b/src/proxy.c index 0a95d31446..d28f3d3b33 100644 --- a/src/proxy.c +++ b/src/proxy.c @@ -228,8 +228,8 @@ void proxy_cells_exchange_first(struct proxy *p) { p->nodeID * proxy_tag_shift + proxy_tag_count, MPI_COMM_WORLD, &p->req_cells_count_in); if (err != MPI_SUCCESS) mpi_error(err, "Failed to irecv nr of pcells."); - // message( "irecv pcells count on node %i from node %i." , p->mynodeID , - // p->nodeID ); fflush(stdout); + // message( "irecv pcells count on node %i from node %i." , p->mynodeID , + // p->nodeID ); fflush(stdout); #else error("SWIFT was not compiled with MPI support."); @@ -261,8 +261,8 @@ void proxy_cells_exchange_second(struct proxy *p) { MPI_COMM_WORLD, &p->req_cells_in); if (err != MPI_SUCCESS) mpi_error(err, "Failed to irecv part data."); - // message( "irecv pcells (%i) on node %i from node %i." , p->size_pcells_in - // , p->mynodeID , p->nodeID ); fflush(stdout); + // message( "irecv pcells (%i) on node %i from node %i." , p->size_pcells_in + // , p->mynodeID , p->nodeID ); fflush(stdout); #else error("SWIFT was not compiled with MPI support."); -- GitLab