From ac2e8c769a2f9feba4bf797a5ba931a814ea9a3b Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Sun, 21 Feb 2016 13:08:21 +0000 Subject: [PATCH] Code formatting --- src/engine.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/engine.c b/src/engine.c index 502021b472..dcd59bc887 100644 --- a/src/engine.c +++ b/src/engine.c @@ -2270,7 +2270,7 @@ void engine_init(struct engine *e, struct space *s, float dt, int nr_threads, /* Print information about the hydro scheme */ message("Hydrodynamic scheme: %s", SPH_IMPLEMENTATION); - + /* Deal with timestep */ e->timeBase = (timeEnd - timeBegin) / max_nr_timesteps; e->ti_current = 0; @@ -2288,9 +2288,10 @@ void engine_init(struct engine *e, struct space *s, float dt, int nr_threads, message("Timestep set to %e", e->dt_max); } - if(e->dt_min < e->timeBase) - error("Minimal timestep smaller than the absolue possible minimum dt=%e", e->timeBase); - + if (e->dt_min < e->timeBase) + error("Minimal timestep smaller than the absolue possible minimum dt=%e", + e->timeBase); + /* Construct types for MPI communications */ #ifdef WITH_MPI part_create_mpi_type(&e->part_mpi_type); @@ -2391,4 +2392,3 @@ void engine_print_policy(struct engine *e) { fflush(stdout); #endif } - -- GitLab