diff --git a/src/engine.c b/src/engine.c index 502021b4723a4ba0fabcebce0f040d0511f808e5..dcd59bc887563df5036b3493b8a28c44e386998c 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 } -